4 references to AddFunction
System.Data.Entity (4)
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (3)
564
functions.ForTypes(parameterTypes, type => functions.
AddFunction
(PrimitiveTypeKind.String, "Substring", PrimitiveTypeKind.String, "stringArgument", type, "start", type, "length"));
568
functions.
AddFunction
(PrimitiveTypeKind.String, "Replace", PrimitiveTypeKind.String, "stringArgument", PrimitiveTypeKind.String, "toReplace", PrimitiveTypeKind.String, "replacement");
623
functions.
AddFunction
(PrimitiveTypeKind.Time, "CreateTime", PrimitiveTypeKind.Int32, "hour", PrimitiveTypeKind.Int32, "minute", PrimitiveTypeKind.Double, "second");
System\Data\Metadata\Edm\Provider\EdmProviderManifestSpatialFunctions.cs (1)
69
functions.
AddFunction
(PrimitiveTypeKind.Boolean, "SpatialRelate", PrimitiveTypeKind.Geometry, "geometryValue1", PrimitiveTypeKind.Geometry, "geometryValue2", PrimitiveTypeKind.String, "matrix");