2 implementations of IsGeography
System.Data.Entity (2)
System\Data\SqlClient\IDbSpatialValue.cs (2)
103
public bool
IsGeography
{ get { return true; } }
173
public bool
IsGeography
{ get { return false; } }
6 references to IsGeography
System.Data.Entity (6)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (3)
1053
functionExpression = (spatialValue.
IsGeography
? SpatialEdmFunctions.GeographyFromText(wellKnownText, srid.Value) : SpatialEdmFunctions.GeometryFromText(wellKnownText, srid.Value));
1060
functionExpression = (spatialValue.
IsGeography
? SpatialEdmFunctions.GeographyFromBinary(wellKnownBinary, srid.Value) : SpatialEdmFunctions.GeometryFromBinary(wellKnownBinary, srid.Value));
1067
functionExpression = (spatialValue.
IsGeography
? SpatialEdmFunctions.GeographyFromGml(gmlString, srid.Value) : SpatialEdmFunctions.GeometryFromGml(gmlString, srid.Value));
System\Data\SqlClient\SqlTypesAssembly.cs (3)
480
return (spatialValue.
IsGeography
? sqlGeographyFromWKBByteArray(binaryValue, srid.Value) : sqlGeometryFromWKBByteArray(binaryValue, srid.Value));
487
return (spatialValue.
IsGeography
? sqlGeographyFromWKTString(textValue, srid.Value) : sqlGeometryFromWKTString(textValue, srid.Value));
495
return (spatialValue.
IsGeography
? sqlGeographyFromGMLReader(xmlReader, srid.Value) : sqlGeometryFromGMLReader(xmlReader, srid.Value));