2 implementations of IDbSpatialValue
System.Data.Entity (2)
System\Data\SqlClient\IDbSpatialValue.cs (2)
69internal struct DbGeographyAdapter : IDbSpatialValue 139internal struct DbGeometryAdapter : IDbSpatialValue
11 references to IDbSpatialValue
System.Data.Entity (11)
System\Data\SqlClient\IDbSpatialValue.cs (6)
39/// Returns an instance of <see cref="IDbSpatialValue"/> that wraps the specified <see cref="DbGeography"/> value. 43/// <returns>An instance of <see cref="IDbSpatialValue"/> that wraps the specified geography value</returns> 44internal static IDbSpatialValue AsSpatialValue(this DbGeography geographyValue) 54/// Returns an instance of <see cref="IDbSpatialValue"/> that wraps the specified <see cref="DbGeometry"/> value. 58/// <returns>An instance of <see cref="IDbSpatialValue"/> that wraps the specified geometry value</returns> 59internal static IDbSpatialValue AsSpatialValue(this DbGeometry geometryValue)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1040private void AppendSpatialConstant(SqlBuilder result, IDbSpatialValue spatialValue)
System\Data\SqlClient\SqlSpatialServices.cs (3)
159var spatialValue = geographyValue.AsSpatialValue(); 200var spatialValue = geometryValue.AsSpatialValue(); 216private static TValue CreateWellKnownValue<TValue>(IDbSpatialValue spatialValue, Func<Exception> onMissingSrid, Func<Exception> onMissingWkbAndWkt, Func<int, byte[], string, TValue> onValidValue)
System\Data\SqlClient\SqlTypesAssembly.cs (1)
460private object GetSqlTypesSpatialValue(IDbSpatialValue spatialValue, Type requiredProviderValueType)