1 instantiation of DbFunctionExpression
System.Data.Entity (1)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
1494
return new
DbFunctionExpression
(resultType, function, validArguments);
412 references to DbFunctionExpression
System.Data.Entity (412)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (3)
92
/// Convenience method indicating that the body of a Lambda <see cref="
DbFunctionExpression
"/> is now about to be visited.
239
/// Visitor pattern method for <see cref="
DbFunctionExpression
"/>.
243
public override void Visit(
DbFunctionExpression
expression)
System\Data\Common\CommandTrees\DbExpressionVisitor.cs (1)
109
public abstract void Visit(
DbFunctionExpression
expression);
System\Data\Common\CommandTrees\DbExpressionVisitor_TResultType.cs (1)
124
public abstract TResultType Visit(
DbFunctionExpression
expression);
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
421
public override DbExpression Visit(
DbFunctionExpression
expression)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (5)
1453
/// Creates a new <see cref="
DbFunctionExpression
"/> representing the invocation of the specified function with the given arguments.
1466
public static
DbFunctionExpression
Invoke(this EdmFunction function, IEnumerable<DbExpression> arguments)
1472
/// Creates a new <see cref="
DbFunctionExpression
"/> representing the invocation of the specified function with the given arguments.
1485
public static
DbFunctionExpression
Invoke(this EdmFunction function, params DbExpression[] arguments)
1490
private static
DbFunctionExpression
InvokeFunction(EdmFunction function, IEnumerable<DbExpression> arguments)
System\Data\Common\CommandTrees\ExpressionBuilder\EdmFunctions.cs (144)
55
internal static
DbFunctionExpression
InvokeCanonicalFunction(string functionName, params DbExpression[] arguments)
73
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Avg' function over the
80
public static
DbFunctionExpression
Average(this DbExpression collection)
87
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Count' function over the
94
public static
DbFunctionExpression
Count(this DbExpression collection)
101
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'BigCount' function over the
108
public static
DbFunctionExpression
LongCount(this DbExpression collection)
115
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Max' function over the
122
public static
DbFunctionExpression
Max(this DbExpression collection)
129
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Min' function over the
136
public static
DbFunctionExpression
Min(this DbExpression collection)
143
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Sum' function over the
150
public static
DbFunctionExpression
Sum(this DbExpression collection)
157
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'StDev' function over the
165
public static
DbFunctionExpression
StDev(this DbExpression collection)
172
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'StDevP' function over the
180
public static
DbFunctionExpression
StDevP(this DbExpression collection)
187
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Var' function over the
194
public static
DbFunctionExpression
Var(this DbExpression collection)
201
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'VarP' function over the
208
public static
DbFunctionExpression
VarP(this DbExpression collection)
219
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Concat' function with the
228
public static
DbFunctionExpression
Concat(this DbExpression string1, DbExpression string2)
238
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Contains' function with the
255
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'EndsWith' function with the
264
public static
DbFunctionExpression
EndsWith(this DbExpression stringArgument, DbExpression suffix)
272
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'IndexOf' function with the
282
public static
DbFunctionExpression
IndexOf(this DbExpression searchString, DbExpression stringToFind)
290
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Left' function with the
299
public static
DbFunctionExpression
Left(this DbExpression stringArgument, DbExpression length)
307
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Length' function with the
315
public static
DbFunctionExpression
Length(this DbExpression stringArgument)
322
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Replace' function with the
332
public static
DbFunctionExpression
Replace(this DbExpression stringArgument, DbExpression toReplace, DbExpression replacement)
341
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Reverse' function with the
349
public static
DbFunctionExpression
Reverse(this DbExpression stringArgument)
356
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Right' function with the
365
public static
DbFunctionExpression
Right(this DbExpression stringArgument, DbExpression length)
373
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'StartsWith' function with the
382
public static
DbFunctionExpression
StartsWith(this DbExpression stringArgument, DbExpression prefix)
392
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Substring' function with the
403
public static
DbFunctionExpression
Substring(this DbExpression stringArgument, DbExpression start, DbExpression length)
412
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'ToLower' function with the
420
public static
DbFunctionExpression
ToLower(this DbExpression stringArgument)
427
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'ToUpper' function with the
435
public static
DbFunctionExpression
ToUpper(this DbExpression stringArgument)
442
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Trim' function with the
450
public static
DbFunctionExpression
Trim(this DbExpression stringArgument)
457
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'RTrim' function with the
465
public static
DbFunctionExpression
TrimEnd(this DbExpression stringArgument)
472
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'LTrim' function with the
480
public static
DbFunctionExpression
TrimStart(this DbExpression stringArgument)
491
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Year' function with the
499
public static
DbFunctionExpression
Year(this DbExpression dateValue)
506
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Month' function with the
514
public static
DbFunctionExpression
Month(this DbExpression dateValue)
521
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Day' function with the
529
public static
DbFunctionExpression
Day(this DbExpression dateValue)
536
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'DayOfYear' function with the
544
public static
DbFunctionExpression
DayOfYear(this DbExpression dateValue)
551
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Hour' function with the
559
public static
DbFunctionExpression
Hour(this DbExpression timeValue)
566
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Minute' function with the
574
public static
DbFunctionExpression
Minute(this DbExpression timeValue)
581
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Second' function with the
589
public static
DbFunctionExpression
Second(this DbExpression timeValue)
596
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Millisecond' function with the
604
public static
DbFunctionExpression
Millisecond(this DbExpression timeValue)
611
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GetTotalOffsetMinutes' function with the
618
public static
DbFunctionExpression
GetTotalOffsetMinutes(this DbExpression dateTimeOffsetArgument)
629
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'CurrentDateTime' function.
632
public static
DbFunctionExpression
CurrentDateTime()
638
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'CurrentDateTimeOffset' function.
641
public static
DbFunctionExpression
CurrentDateTimeOffset()
647
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'CurrentUtcDateTime' function.
650
public static
DbFunctionExpression
CurrentUtcDateTime()
656
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'TruncateTime' function with the
664
public static
DbFunctionExpression
TruncateTime(this DbExpression dateValue)
671
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'CreateDateTime' function with the
684
public static
DbFunctionExpression
CreateDateTime(DbExpression year, DbExpression month, DbExpression day, DbExpression hour, DbExpression minute, DbExpression second)
696
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'CreateDateTimeOffset' function with the
710
public static
DbFunctionExpression
CreateDateTimeOffset(DbExpression year, DbExpression month, DbExpression day, DbExpression hour, DbExpression minute, DbExpression second, DbExpression timeZoneOffset)
723
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'CreateTime' function with the
733
public static
DbFunctionExpression
CreateTime(DbExpression hour, DbExpression minute, DbExpression second)
746
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AddYears' function with the
755
public static
DbFunctionExpression
AddYears(this DbExpression dateValue, DbExpression addValue)
763
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AddMonths' function with the
772
public static
DbFunctionExpression
AddMonths(this DbExpression dateValue, DbExpression addValue)
780
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AddDays' function with the
789
public static
DbFunctionExpression
AddDays(this DbExpression dateValue, DbExpression addValue)
797
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AddHours' function with the
806
public static
DbFunctionExpression
AddHours(this DbExpression timeValue, DbExpression addValue)
814
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AddMinutes' function with the
823
public static
DbFunctionExpression
AddMinutes(this DbExpression timeValue, DbExpression addValue)
831
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AddSeconds' function with the
840
public static
DbFunctionExpression
AddSeconds(this DbExpression timeValue, DbExpression addValue)
848
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AddMilliseconds' function with the
857
public static
DbFunctionExpression
AddMilliseconds(this DbExpression timeValue, DbExpression addValue)
865
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AddMicroseconds' function with the
874
public static
DbFunctionExpression
AddMicroseconds(this DbExpression timeValue, DbExpression addValue)
882
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AddNanoseconds' function with the
891
public static
DbFunctionExpression
AddNanoseconds(this DbExpression timeValue, DbExpression addValue)
903
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'DiffYears' function with the
913
public static
DbFunctionExpression
DiffYears(this DbExpression dateValue1, DbExpression dateValue2)
921
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'DiffMonths' function with the
931
public static
DbFunctionExpression
DiffMonths(this DbExpression dateValue1, DbExpression dateValue2)
939
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'DiffDays' function with the
949
public static
DbFunctionExpression
DiffDays(this DbExpression dateValue1, DbExpression dateValue2)
957
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'DiffHours' function with the
967
public static
DbFunctionExpression
DiffHours(this DbExpression timeValue1, DbExpression timeValue2)
975
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'DiffMinutes' function with the
985
public static
DbFunctionExpression
DiffMinutes(this DbExpression timeValue1, DbExpression timeValue2)
993
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'DiffSeconds' function with the
1003
public static
DbFunctionExpression
DiffSeconds(this DbExpression timeValue1, DbExpression timeValue2)
1011
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'DiffMilliseconds' function with the
1021
public static
DbFunctionExpression
DiffMilliseconds(this DbExpression timeValue1, DbExpression timeValue2)
1029
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'DiffMicroseconds' function with the
1039
public static
DbFunctionExpression
DiffMicroseconds(this DbExpression timeValue1, DbExpression timeValue2)
1047
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'DiffNanoseconds' function with the
1057
public static
DbFunctionExpression
DiffNanoseconds(this DbExpression timeValue1, DbExpression timeValue2)
1069
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Round' function with the
1077
public static
DbFunctionExpression
Round(this DbExpression value)
1084
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Round' function with the
1093
public static
DbFunctionExpression
Round(this DbExpression value, DbExpression digits)
1101
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Floor' function with the
1109
public static
DbFunctionExpression
Floor(this DbExpression value)
1116
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Ceiling' function with the
1124
public static
DbFunctionExpression
Ceiling(this DbExpression value)
1131
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Abs' function with the
1139
public static
DbFunctionExpression
Abs(this DbExpression value)
1146
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Truncate' function with the
1155
public static
DbFunctionExpression
Truncate(this DbExpression value, DbExpression digits)
1163
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Power' function with the
1172
public static
DbFunctionExpression
Power(this DbExpression baseArgument, DbExpression exponent)
1184
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'BitwiseAnd' function with the
1193
public static
DbFunctionExpression
BitwiseAnd(this DbExpression value1, DbExpression value2)
1201
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'BitwiseOr' function with the
1210
public static
DbFunctionExpression
BitwiseOr(this DbExpression value1, DbExpression value2)
1218
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'BitwiseNot' function with the
1226
public static
DbFunctionExpression
BitwiseNot(this DbExpression value)
1233
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'BitwiseXor' function with the
1242
public static
DbFunctionExpression
BitwiseXor(this DbExpression value1, DbExpression value2)
1254
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'NewGuid' function.
1257
public static
DbFunctionExpression
NewGuid()
System\Data\Common\CommandTrees\ExpressionBuilder\Spatial\SpatialEdmFunctions.cs (176)
31
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryFromText' function with the
39
public static
DbFunctionExpression
GeometryFromText(DbExpression wellKnownText)
46
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryFromText' function with the
55
public static
DbFunctionExpression
GeometryFromText(DbExpression wellKnownText, DbExpression coordinateSystemId)
63
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryPointFromText' function with the
72
public static
DbFunctionExpression
GeometryPointFromText(DbExpression pointWellKnownText, DbExpression coordinateSystemId)
80
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryLineFromText' function with the
89
public static
DbFunctionExpression
GeometryLineFromText(DbExpression lineWellKnownText, DbExpression coordinateSystemId)
97
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryPolygonFromText' function with the
106
public static
DbFunctionExpression
GeometryPolygonFromText(DbExpression polygonWellKnownText, DbExpression coordinateSystemId)
114
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryMultiPointFromText' function with the
127
public static
DbFunctionExpression
GeometryMultiPointFromText(DbExpression multiPointWellKnownText, DbExpression coordinateSystemId)
135
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryMultiLineFromText' function with the
148
public static
DbFunctionExpression
GeometryMultiLineFromText(DbExpression multiLineWellKnownText, DbExpression coordinateSystemId)
156
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryMultiPolygonFromText' function with the
167
public static
DbFunctionExpression
GeometryMultiPolygonFromText(DbExpression multiPolygonWellKnownText, DbExpression coordinateSystemId)
175
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryCollectionFromText' function with the
184
public static
DbFunctionExpression
GeometryCollectionFromText(DbExpression geometryCollectionWellKnownText, DbExpression coordinateSystemId)
198
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryFromBinary' function with the
205
public static
DbFunctionExpression
GeometryFromBinary(DbExpression wellKnownBinaryValue)
212
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryFromBinary' function with the
221
public static
DbFunctionExpression
GeometryFromBinary(DbExpression wellKnownBinaryValue, DbExpression coordinateSystemId)
229
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryPointFromBinary' function with the
238
public static
DbFunctionExpression
GeometryPointFromBinary(DbExpression pointWellKnownBinaryValue, DbExpression coordinateSystemId)
246
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryLineFromBinary' function with the
255
public static
DbFunctionExpression
GeometryLineFromBinary(DbExpression lineWellKnownBinaryValue, DbExpression coordinateSystemId)
263
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryPolygonFromBinary' function with the
272
public static
DbFunctionExpression
GeometryPolygonFromBinary(DbExpression polygonWellKnownBinaryValue, DbExpression coordinateSystemId)
280
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryMultiPointFromBinary' function with the
293
public static
DbFunctionExpression
GeometryMultiPointFromBinary(DbExpression multiPointWellKnownBinaryValue, DbExpression coordinateSystemId)
301
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryMultiLineFromBinary' function with the
314
public static
DbFunctionExpression
GeometryMultiLineFromBinary(DbExpression multiLineWellKnownBinaryValue, DbExpression coordinateSystemId)
322
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryMultiPolygonFromBinary' function with the
333
public static
DbFunctionExpression
GeometryMultiPolygonFromBinary(DbExpression multiPolygonWellKnownBinaryValue, DbExpression coordinateSystemId)
341
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryCollectionFromBinary' function with the
350
public static
DbFunctionExpression
GeometryCollectionFromBinary(DbExpression geometryCollectionWellKnownBinaryValue, DbExpression coordinateSystemId)
362
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryFromGml' function with the
370
public static
DbFunctionExpression
GeometryFromGml(DbExpression geometryMarkup)
377
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeometryFromGml' function with the
387
public static
DbFunctionExpression
GeometryFromGml(DbExpression geometryMarkup, DbExpression coordinateSystemId)
399
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyFromText' function with the
407
public static
DbFunctionExpression
GeographyFromText(DbExpression wellKnownText)
414
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyFromText' function with the
423
public static
DbFunctionExpression
GeographyFromText(DbExpression wellKnownText, DbExpression coordinateSystemId)
431
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyPointFromText' function with the
440
public static
DbFunctionExpression
GeographyPointFromText(DbExpression pointWellKnownText, DbExpression coordinateSystemId)
448
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyLineFromText' function with the
457
public static
DbFunctionExpression
GeographyLineFromText(DbExpression lineWellKnownText, DbExpression coordinateSystemId)
465
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyPolygonFromText' function with the
474
public static
DbFunctionExpression
GeographyPolygonFromText(DbExpression polygonWellKnownText, DbExpression coordinateSystemId)
482
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyMultiPointFromText' function with the
495
public static
DbFunctionExpression
GeographyMultiPointFromText(DbExpression multiPointWellKnownText, DbExpression coordinateSystemId)
503
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyMultiLineFromText' function with the
516
public static
DbFunctionExpression
GeographyMultiLineFromText(DbExpression multiLineWellKnownText, DbExpression coordinateSystemId)
524
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyMultiPolygonFromText' function with the
535
public static
DbFunctionExpression
GeographyMultiPolygonFromText(DbExpression multiPolygonWellKnownText, DbExpression coordinateSystemId)
543
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyCollectionFromText' function with the
552
public static
DbFunctionExpression
GeographyCollectionFromText(DbExpression geographyCollectionWellKnownText, DbExpression coordinateSystemId)
566
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyFromBinary' function with the
573
public static
DbFunctionExpression
GeographyFromBinary(DbExpression wellKnownBinaryValue)
580
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyFromBinary' function with the
589
public static
DbFunctionExpression
GeographyFromBinary(DbExpression wellKnownBinaryValue, DbExpression coordinateSystemId)
597
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyPointFromBinary' function with the
606
public static
DbFunctionExpression
GeographyPointFromBinary(DbExpression pointWellKnownBinaryValue, DbExpression coordinateSystemId)
614
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyLineFromBinary' function with the
623
public static
DbFunctionExpression
GeographyLineFromBinary(DbExpression lineWellKnownBinaryValue, DbExpression coordinateSystemId)
631
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyPolygonFromBinary' function with the
640
public static
DbFunctionExpression
GeographyPolygonFromBinary(DbExpression polygonWellKnownBinaryValue, DbExpression coordinateSystemId)
648
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyMultiPointFromBinary' function with the
661
public static
DbFunctionExpression
GeographyMultiPointFromBinary(DbExpression multiPointWellKnownBinaryValue, DbExpression coordinateSystemId)
669
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyMultiLineFromBinary' function with the
682
public static
DbFunctionExpression
GeographyMultiLineFromBinary(DbExpression multiLineWellKnownBinaryValue, DbExpression coordinateSystemId)
690
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyMultiPolygonFromBinary' function with the
701
public static
DbFunctionExpression
GeographyMultiPolygonFromBinary(DbExpression multiPolygonWellKnownBinaryValue, DbExpression coordinateSystemId)
709
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyCollectionFromBinary' function with the
718
public static
DbFunctionExpression
GeographyCollectionFromBinary(DbExpression geographyCollectionWellKnownBinaryValue, DbExpression coordinateSystemId)
730
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyFromGml' function with the
738
public static
DbFunctionExpression
GeographyFromGml(DbExpression geographyMarkup)
745
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'GeographyFromGml' function with the
755
public static
DbFunctionExpression
GeographyFromGml(DbExpression geographyMarkup, DbExpression coordinateSystemId)
770
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'CoordinateSystemId' function with the
778
public static
DbFunctionExpression
CoordinateSystemId(this DbExpression spatialValue)
785
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialTypeName' function with the
793
public static
DbFunctionExpression
SpatialTypeName(this DbExpression spatialValue)
800
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialDimension' function with the
808
public static
DbFunctionExpression
SpatialDimension(this DbExpression spatialValue)
815
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialEnvelope' function with the
823
public static
DbFunctionExpression
SpatialEnvelope(this DbExpression geometryValue)
830
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AsBinary' function with the
838
public static
DbFunctionExpression
AsBinary(this DbExpression spatialValue)
845
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AsGml' function with the
854
public static
DbFunctionExpression
AsGml(this DbExpression spatialValue)
861
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'AsText' function with the
869
public static
DbFunctionExpression
AsText(this DbExpression spatialValue)
876
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'IsEmptySpatial' function with the
884
public static
DbFunctionExpression
IsEmptySpatial(this DbExpression spatialValue)
891
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'IsSimpleGeometry' function with the
899
public static
DbFunctionExpression
IsSimpleGeometry(this DbExpression geometryValue)
906
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialBoundary' function with the
913
public static
DbFunctionExpression
SpatialBoundary(this DbExpression geometryValue)
921
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'IsValidGeometry' function with the specified argument,
928
public static
DbFunctionExpression
IsValidGeometry(this DbExpression geometryValue)
939
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialEquals' function with the specified arguments,
949
public static
DbFunctionExpression
SpatialEquals(this DbExpression spatialValue1, DbExpression spatialValue2)
957
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialDisjoint' function with the specified arguments,
967
public static
DbFunctionExpression
SpatialDisjoint(this DbExpression spatialValue1, DbExpression spatialValue2)
975
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialIntersects' function with the specified arguments,
985
public static
DbFunctionExpression
SpatialIntersects(this DbExpression spatialValue1, DbExpression spatialValue2)
993
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialTouches' function with the specified arguments,
1001
public static
DbFunctionExpression
SpatialTouches(this DbExpression geometryValue1, DbExpression geometryValue2)
1009
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialCrosses' function with the specified arguments,
1017
public static
DbFunctionExpression
SpatialCrosses(this DbExpression geometryValue1, DbExpression geometryValue2)
1025
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialWithin' function with the specified arguments,
1033
public static
DbFunctionExpression
SpatialWithin(this DbExpression geometryValue1, DbExpression geometryValue2)
1041
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialContains' function with the specified arguments,
1049
public static
DbFunctionExpression
SpatialContains(this DbExpression geometryValue1, DbExpression geometryValue2)
1057
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialOverlaps' function with the specified arguments,
1065
public static
DbFunctionExpression
SpatialOverlaps(this DbExpression geometryValue1, DbExpression geometryValue2)
1073
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialRelate' function with the specified arguments,
1082
public static
DbFunctionExpression
SpatialRelate(this DbExpression geometryValue1, DbExpression geometryValue2, DbExpression intersectionPatternMatrix)
1095
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialBuffer' function with the specified arguments,
1103
public static
DbFunctionExpression
SpatialBuffer(this DbExpression spatialValue, DbExpression distance)
1111
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Distance' function with the specified arguments,
1121
public static
DbFunctionExpression
Distance(this DbExpression spatialValue1, DbExpression spatialValue2)
1129
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialConvexHull' function with the
1136
public static
DbFunctionExpression
SpatialConvexHull(this DbExpression geometryValue)
1143
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialIntersection' function with the specified arguments,
1153
public static
DbFunctionExpression
SpatialIntersection(this DbExpression spatialValue1, DbExpression spatialValue2)
1161
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialUnion' function with the specified arguments,
1171
public static
DbFunctionExpression
SpatialUnion(this DbExpression spatialValue1, DbExpression spatialValue2)
1179
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialDifference' function with the specified arguments,
1189
public static
DbFunctionExpression
SpatialDifference(this DbExpression spatialValue1, DbExpression spatialValue2)
1197
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialSymmetricDifference' function with the specified arguments,
1207
public static
DbFunctionExpression
SpatialSymmetricDifference(this DbExpression spatialValue1, DbExpression spatialValue2)
1219
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialElementCount' function with the
1226
public static
DbFunctionExpression
SpatialElementCount(this DbExpression spatialValue)
1234
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialElementAt' function with the
1244
public static
DbFunctionExpression
SpatialElementAt(this DbExpression spatialValue, DbExpression indexValue)
1257
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'XCoordinate' function with the
1264
public static
DbFunctionExpression
XCoordinate(this DbExpression geometryValue)
1271
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'YCoordinate' function with the
1278
public static
DbFunctionExpression
YCoordinate(this DbExpression geometryValue)
1285
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Elevation' function with the
1292
public static
DbFunctionExpression
Elevation(this DbExpression spatialValue)
1299
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Measure' function with the
1306
public static
DbFunctionExpression
Measure(this DbExpression spatialValue)
1313
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Latitude' function with the
1320
public static
DbFunctionExpression
Latitude(this DbExpression geographyValue)
1327
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Longitude' function with the
1334
public static
DbFunctionExpression
Longitude(this DbExpression geographyValue)
1345
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'SpatialLength' function with the
1352
public static
DbFunctionExpression
SpatialLength(this DbExpression spatialValue)
1359
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'StartPoint' function with the
1366
public static
DbFunctionExpression
StartPoint(this DbExpression spatialValue)
1373
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'EndPoint' function with the
1380
public static
DbFunctionExpression
EndPoint(this DbExpression spatialValue)
1387
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'IsClosedSpatial' function with the
1394
public static
DbFunctionExpression
IsClosedSpatial(this DbExpression spatialValue)
1401
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'IsRing' function with the
1408
public static
DbFunctionExpression
IsRing(this DbExpression geometryValue)
1419
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'PointCount' function with the
1426
public static
DbFunctionExpression
PointCount(this DbExpression spatialValue)
1433
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'PointAt' function with the
1443
public static
DbFunctionExpression
PointAt(this DbExpression spatialValue, DbExpression indexValue)
1455
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Area' function with the
1462
public static
DbFunctionExpression
Area(this DbExpression spatialValue)
1469
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'Centroid' function with the
1477
public static
DbFunctionExpression
Centroid(this DbExpression geometryValue)
1484
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'PointOnSurface' function with the
1491
public static
DbFunctionExpression
PointOnSurface(this DbExpression geometryValue)
1502
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'ExteriorRing' function with the
1509
public static
DbFunctionExpression
ExteriorRing(this DbExpression geometryValue)
1516
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'InteriorRingCount' function with the
1523
public static
DbFunctionExpression
InteriorRingCount(this DbExpression geometryValue)
1530
/// Creates a <see cref="
DbFunctionExpression
"/> that invokes the canonical 'InteriorRingAt' function with the
1540
public static
DbFunctionExpression
InteriorRingAt(this DbExpression geometryValue, DbExpression indexValue)
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
468
public override void Visit(
DbFunctionExpression
e)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
314
public override void Visit(
DbFunctionExpression
e)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
529
public override TreeNode Visit(
DbFunctionExpression
e)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (3)
1432
/// Creates <see cref="
DbFunctionExpression
"/> representing a model function call.
1435
private static
DbFunctionExpression
CreateModelFunctionCallExpression(AST.MethodExpr methodExpr,
1439
DbFunctionExpression
functionExpression = null;
System\Data\Mapping\Update\Internal\UpdateExpressionVisitor.cs (1)
127
public override TReturn Visit(
DbFunctionExpression
expression)
System\Data\Mapping\ViewValidator.cs (2)
207
public override void Visit(
DbFunctionExpression
expression)
550
public override DbExpressionEntitySetInfo Visit(
DbFunctionExpression
expression)
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
1453
private
DbFunctionExpression
TranslateIntoCanonicalFunction(string functionName, Expression Expression, params Expression[] linqArguments)
1470
private
DbFunctionExpression
CreateCanonicalFunction(string functionName, Expression Expression, params DbExpression[] translatedArguments)
System\Data\Objects\ELinq\MethodCallTranslator.cs (4)
998
DbFunctionExpression
indexOfExpression = parent.CreateCanonicalFunction(ExpressionConverter.IndexOf, call, patternExpression, inputExpression);
1019
DbFunctionExpression
indexOfExpression = parent.TranslateIntoCanonicalFunction(ExpressionConverter.IndexOf, call, call.Arguments[0], call.Object);
1081
DbFunctionExpression
reversePatternExpression = parent.CreateCanonicalFunction(ExpressionConverter.Reverse, call, patternExpression);
1082
DbFunctionExpression
reverseInputExpression = parent.CreateCanonicalFunction(ExpressionConverter.Reverse, call, inputExpression);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (2)
404
EdmFunction edmFunction = ((
DbFunctionExpression
)expr).Function;
1033
public override Node Visit(
DbFunctionExpression
e)
System\Data\SqlClient\SqlGen\Sql8ConformanceChecker.cs (1)
369
public override bool Visit(
DbFunctionExpression
expression)
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (58)
94
private delegate ISqlFragment FunctionHandler(SqlGenerator sqlgen,
DbFunctionExpression
functionExpr);
447
private static ISqlFragment HandleSpatialFromTextFunction(SqlGenerator sqlgen,
DbFunctionExpression
functionExpression)
464
private static ISqlFragment HandleSpatialFromGmlFunction(SqlGenerator sqlgen,
DbFunctionExpression
functionExpression)
469
private static ISqlFragment HandleSpatialFromBinaryFunction(SqlGenerator sqlgen,
DbFunctionExpression
functionExpression)
477
private static ISqlFragment HandleSpatialStaticMethodFunctionAppendSrid(SqlGenerator sqlgen,
DbFunctionExpression
functionExpression, string functionName)
495
internal static ISqlFragment GenerateFunctionCallSql(SqlGenerator sqlgen,
DbFunctionExpression
functionExpression)
525
private static bool IsSpecialStoreFunction(
DbFunctionExpression
e)
537
private static bool IsSpecialCanonicalFunction(
DbFunctionExpression
e)
549
private static bool IsSpatialCanonicalFunction(
DbFunctionExpression
e, out PrimitiveTypeKind spatialTypeKind)
577
private static ISqlFragment HandleFunctionDefault(SqlGenerator sqlgen,
DbFunctionExpression
e)
589
private static ISqlFragment HandleFunctionDefaultGivenName(SqlGenerator sqlgen,
DbFunctionExpression
e, string functionName)
622
private static ISqlFragment HandleFunctionDefaultCastReturnValue(SqlGenerator sqlgen,
DbFunctionExpression
e, string functionName, string returnType)
666
private static void HandleFunctionArgumentsDefault(SqlGenerator sqlgen,
DbFunctionExpression
e, SqlBuilder result)
701
private static ISqlFragment HandleFunctionGivenNameBasedOnVersion(SqlGenerator sqlgen,
DbFunctionExpression
e, string preKatmaiName, string katmaiName)
715
private static ISqlFragment HandleSpecialStoreFunction(SqlGenerator sqlgen,
DbFunctionExpression
e)
725
private static ISqlFragment HandleSpecialCanonicalFunction(SqlGenerator sqlgen,
DbFunctionExpression
e)
736
private static ISqlFragment HandleSpecialFunction(Dictionary<string, FunctionHandler> handlers, SqlGenerator sqlgen,
DbFunctionExpression
e)
742
private static ISqlFragment HandleSpatialCanonicalFunction(SqlGenerator sqlgen,
DbFunctionExpression
functionExpression, PrimitiveTypeKind spatialTypeKind)
756
DbFunctionExpression
functionExpression,
792
private static ISqlFragment WriteInstanceFunctionCall(SqlGenerator sqlgen, string functionName,
DbFunctionExpression
functionExpression, bool isPropertyAccess)
797
private static ISqlFragment WriteInstanceFunctionCall(SqlGenerator sqlgen, string functionName,
DbFunctionExpression
functionExpression, bool isPropertyAccess, string castReturnTypeTo)
837
private static ISqlFragment HandleSpecialFunctionToOperator(SqlGenerator sqlgen,
DbFunctionExpression
e, bool parenthesiseArguments)
877
private static ISqlFragment HandleConcatFunction(SqlGenerator sqlgen,
DbFunctionExpression
e)
888
private static ISqlFragment HandleCanonicalFunctionBitwise(SqlGenerator sqlgen,
DbFunctionExpression
e)
901
private static ISqlFragment HandleDatepartDateFunction(SqlGenerator sqlgen,
DbFunctionExpression
e)
958
private static ISqlFragment HandleCanonicalFunctionDatepart(SqlGenerator sqlgen,
DbFunctionExpression
e)
970
private static ISqlFragment HandleCanonicalFunctionGetTotalOffsetMinutes(SqlGenerator sqlgen,
DbFunctionExpression
e)
982
private static ISqlFragment HandleCanonicalFunctionDatepart(SqlGenerator sqlgen, string datepart,
DbFunctionExpression
e)
1005
private static ISqlFragment HandleCanonicalFunctionCurrentDateTime(SqlGenerator sqlgen,
DbFunctionExpression
e)
1018
private static ISqlFragment HandleCanonicalFunctionCurrentUtcDateTime(SqlGenerator sqlgen,
DbFunctionExpression
e)
1031
private static ISqlFragment HandleCanonicalFunctionCurrentDateTimeOffset(SqlGenerator sqlgen,
DbFunctionExpression
e)
1045
private static ISqlFragment HandleCanonicalFunctionCreateDateTime(SqlGenerator sqlgen,
DbFunctionExpression
e)
1059
private static ISqlFragment HandleCanonicalFunctionCreateDateTimeOffset(SqlGenerator sqlgen,
DbFunctionExpression
e)
1073
private static ISqlFragment HandleCanonicalFunctionCreateTime(SqlGenerator sqlgen,
DbFunctionExpression
e)
1214
private static ISqlFragment HandleCanonicalFunctionTruncateTime(SqlGenerator sqlgen,
DbFunctionExpression
e)
1262
private static ISqlFragment HandleCanonicalFunctionDateAddKatmaiOrNewer(SqlGenerator sqlgen,
DbFunctionExpression
e)
1276
private static ISqlFragment HandleCanonicalFunctionDateAdd(SqlGenerator sqlgen,
DbFunctionExpression
e)
1297
private static ISqlFragment HandleCanonicalFunctionDateDiffKatmaiOrNewer(SqlGenerator sqlgen,
DbFunctionExpression
e)
1311
private static ISqlFragment HandleCanonicalFunctionDateDiff(SqlGenerator sqlgen,
DbFunctionExpression
e)
1332
private static ISqlFragment HandleCanonicalFunctionIndexOf(SqlGenerator sqlgen,
DbFunctionExpression
e)
1343
private static ISqlFragment HandleCanonicalFunctionNewGuid(SqlGenerator sqlgen,
DbFunctionExpression
e)
1354
private static ISqlFragment HandleCanonicalFunctionLength(SqlGenerator sqlgen,
DbFunctionExpression
e)
1370
private static ISqlFragment HandleCanonicalFunctionRound(SqlGenerator sqlgen,
DbFunctionExpression
e)
1382
private static ISqlFragment HandleCanonicalFunctionTruncate(SqlGenerator sqlgen,
DbFunctionExpression
e)
1393
private static ISqlFragment HandleCanonicalFunctionRoundOrTruncate(SqlGenerator sqlgen,
DbFunctionExpression
e, bool round)
1445
private static ISqlFragment HandleCanonicalFunctionAbs(SqlGenerator sqlgen,
DbFunctionExpression
e)
1466
private static ISqlFragment HandleCanonicalFunctionTrim(SqlGenerator sqlgen,
DbFunctionExpression
e)
1486
private static ISqlFragment HandleCanonicalFunctionToLower(SqlGenerator sqlgen,
DbFunctionExpression
e)
1497
private static ISqlFragment HandleCanonicalFunctionToUpper(SqlGenerator sqlgen,
DbFunctionExpression
e)
1541
private static ISqlFragment HandleCanonicalFunctionContains(SqlGenerator sqlgen,
DbFunctionExpression
e)
1584
private static ISqlFragment HandleCanonicalFunctionStartsWith(SqlGenerator sqlgen,
DbFunctionExpression
e)
1628
private static ISqlFragment HandleCanonicalFunctionEndsWith(SqlGenerator sqlgen,
DbFunctionExpression
e)
1678
private static ISqlFragment WrapPredicate(Func<SqlGenerator, IList<DbExpression>, SqlBuilder, SqlBuilder> predicateTranslator, SqlGenerator sqlgen,
DbFunctionExpression
e)
1751
private static bool CastReturnTypeToInt64(
DbFunctionExpression
e)
1761
private static bool CastReturnTypeToInt32(SqlGenerator sqlgen,
DbFunctionExpression
e)
1784
private static bool CastReturnTypeToInt16(
DbFunctionExpression
e)
1794
private static bool CastReturnTypeToSingle(
DbFunctionExpression
e)
1809
private static bool CastReturnTypeToGivenType(
DbFunctionExpression
e, Set<string> functionsRequiringReturnTypeCast, PrimitiveTypeKind type)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (5)
826
DbFunctionExpression
functionExpr = (
DbFunctionExpression
)expr;
1046
DbFunctionExpression
functionExpression = null;
1341
public override ISqlFragment Visit(
DbFunctionExpression
e)
4384
internal void AssertKatmaiOrNewer(
DbFunctionExpression
e)