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