2 instantiations of DbGeographyWellKnownValue
System.Data.Entity (2)
System\Data\Spatial\DefaultSpatialServices.cs (1)
115
return new
DbGeographyWellKnownValue
() { CoordinateSystemId = backingValue.CoordinateSystemId, WellKnownBinary = backingValue.CloneBinary(), WellKnownText = backingValue.Text };
System\Data\SqlClient\SqlSpatialServices.cs (1)
164
(srid, wkb, wkt) => new
DbGeographyWellKnownValue
() { CoordinateSystemId = srid, WellKnownBinary = wkb, WellKnownText = wkt });
11 references to DbGeographyWellKnownValue
System.Data.Entity (11)
System\Data\Spatial\DbGeography.cs (1)
51
public
DbGeographyWellKnownValue
WellKnownValue
System\Data\Spatial\DbSpatialServices.cs (5)
78
/// <param name="wellKnownValue">An instance of <see cref="
DbGeographyWellKnownValue
"/> that contains the well known representation of a geography value.</param>
81
public abstract object CreateProviderValue(
DbGeographyWellKnownValue
wellKnownValue);
84
/// Creates an instance of <see cref="
DbGeographyWellKnownValue
"/> that represents the specified <see cref="DbGeography"/> value using one or both of the standard well known spatial formats.
87
/// <returns>The well known representation of <paramref name="geographyValue"/>, as a new <see cref="
DbGeographyWellKnownValue
"/>.</returns>
90
public abstract
DbGeographyWellKnownValue
CreateWellKnownValue(DbGeography geographyValue);
System\Data\Spatial\DefaultSpatialServices.cs (2)
105
public override object CreateProviderValue(
DbGeographyWellKnownValue
wellKnownValue)
111
public override
DbGeographyWellKnownValue
CreateWellKnownValue(DbGeography geographyValue)
System\Data\SqlClient\SqlSpatialServices.cs (3)
90
public override object CreateProviderValue(
DbGeographyWellKnownValue
wellKnownValue)
156
public override
DbGeographyWellKnownValue
CreateWellKnownValue(DbGeography geographyValue)
161
DbGeographyWellKnownValue
result = CreateWellKnownValue(spatialValue,