3 types derived from DbSpatialServices
System.Data.Entity (3)
System\Data\Spatial\DefaultSpatialServices.cs (1)
17
internal sealed class DefaultSpatialServices :
DbSpatialServices
System\Data\SqlClient\SqlSpatialServices.cs (1)
26
internal sealed partial class SqlSpatialServices :
DbSpatialServices
, ISerializable
System\Data\SqlClient\SqlSpatialServices.Generated.cs (1)
27
internal sealed partial class SqlSpatialServices :
DbSpatialServices
74 references to DbSpatialServices
System.Data.Entity (74)
System\Data\Common\DbProviderServices.cs (3)
214
public
DbSpatialServices
GetSpatialServices(string manifestToken)
218
DbSpatialServices
spatialServices = DbGetSpatialServices(manifestToken);
248
protected virtual
DbSpatialServices
DbGetSpatialServices(string manifestToken)
System\Data\Common\Utils\CommandHelper.cs (1)
153
DbSpatialServices
spatialServices = providerServices.GetSpatialServices(storeItemCollection.StoreProviderManifestToken);
System\Data\Spatial\DbGeography.cs (24)
25
private
DbSpatialServices
spatialSvcs;
28
internal DbGeography(
DbSpatialServices
spatialServices, object spatialProviderValue)
61
DbSpatialServices
resolvedServices =
DbSpatialServices
.Default;
78
return
DbSpatialServices
.Default.GeographyFromBinary(wellKnownBinary);
92
return
DbSpatialServices
.Default.GeographyFromBinary(wellKnownBinary, coordinateSystemId);
106
return
DbSpatialServices
.Default.GeographyLineFromBinary(lineWellKnownBinary, coordinateSystemId);
120
return
DbSpatialServices
.Default.GeographyPointFromBinary(pointWellKnownBinary, coordinateSystemId);
134
return
DbSpatialServices
.Default.GeographyPolygonFromBinary(polygonWellKnownBinary, coordinateSystemId);
152
return
DbSpatialServices
.Default.GeographyMultiLineFromBinary(multiLineWellKnownBinary, coordinateSystemId);
170
return
DbSpatialServices
.Default.GeographyMultiPointFromBinary(multiPointWellKnownBinary, coordinateSystemId);
186
return
DbSpatialServices
.Default.GeographyMultiPolygonFromBinary(multiPolygonWellKnownBinary, coordinateSystemId);
200
return
DbSpatialServices
.Default.GeographyCollectionFromBinary(geographyCollectionWellKnownBinary, coordinateSystemId);
217
return
DbSpatialServices
.Default.GeographyFromGml(geographyMarkup);
232
return
DbSpatialServices
.Default.GeographyFromGml(geographyMarkup, coordinateSystemId);
248
return
DbSpatialServices
.Default.GeographyFromText(wellKnownText);
262
return
DbSpatialServices
.Default.GeographyFromText(wellKnownText, coordinateSystemId);
276
return
DbSpatialServices
.Default.GeographyLineFromText(lineWellKnownText, coordinateSystemId);
290
return
DbSpatialServices
.Default.GeographyPointFromText(pointWellKnownText, coordinateSystemId);
304
return
DbSpatialServices
.Default.GeographyPolygonFromText(polygonWellKnownText, coordinateSystemId);
322
return
DbSpatialServices
.Default.GeographyMultiLineFromText(multiLineWellKnownText, coordinateSystemId);
340
return
DbSpatialServices
.Default.GeographyMultiPointFromText(multiPointWellKnownText, coordinateSystemId);
356
return
DbSpatialServices
.Default.GeographyMultiPolygonFromText(multiPolygonWellKnownText, coordinateSystemId);
370
return
DbSpatialServices
.Default.GeographyCollectionFromText(geographyCollectionWellKnownText, coordinateSystemId);
System\Data\Spatial\DbGeometry.cs (24)
25
private
DbSpatialServices
spatialSvcs;
28
internal DbGeometry(
DbSpatialServices
spatialServices, object spatialProviderValue)
61
DbSpatialServices
resolvedServices =
DbSpatialServices
.Default;
78
return
DbSpatialServices
.Default.GeometryFromBinary(wellKnownBinary);
92
return
DbSpatialServices
.Default.GeometryFromBinary(wellKnownBinary, coordinateSystemId);
106
return
DbSpatialServices
.Default.GeometryLineFromBinary(lineWellKnownBinary, coordinateSystemId);
120
return
DbSpatialServices
.Default.GeometryPointFromBinary(pointWellKnownBinary, coordinateSystemId);
134
return
DbSpatialServices
.Default.GeometryPolygonFromBinary(polygonWellKnownBinary, coordinateSystemId);
152
return
DbSpatialServices
.Default.GeometryMultiLineFromBinary(multiLineWellKnownBinary, coordinateSystemId);
170
return
DbSpatialServices
.Default.GeometryMultiPointFromBinary(multiPointWellKnownBinary, coordinateSystemId);
186
return
DbSpatialServices
.Default.GeometryMultiPolygonFromBinary(multiPolygonWellKnownBinary, coordinateSystemId);
200
return
DbSpatialServices
.Default.GeometryCollectionFromBinary(geometryCollectionWellKnownBinary, coordinateSystemId);
217
return
DbSpatialServices
.Default.GeometryFromGml(geometryMarkup);
232
return
DbSpatialServices
.Default.GeometryFromGml(geometryMarkup, coordinateSystemId);
248
return
DbSpatialServices
.Default.GeometryFromText(wellKnownText);
262
return
DbSpatialServices
.Default.GeometryFromText(wellKnownText, coordinateSystemId);
276
return
DbSpatialServices
.Default.GeometryLineFromText(lineWellKnownText, coordinateSystemId);
290
return
DbSpatialServices
.Default.GeometryPointFromText(pointWellKnownText, coordinateSystemId);
304
return
DbSpatialServices
.Default.GeometryPolygonFromText(polygonWellKnownText, coordinateSystemId);
322
return
DbSpatialServices
.Default.GeometryMultiLineFromText(multiLineWellKnownText, coordinateSystemId);
340
return
DbSpatialServices
.Default.GeometryMultiPointFromText(multiPointWellKnownText, coordinateSystemId);
356
return
DbSpatialServices
.Default.GeometryMultiPolygonFromText(multiPolygonWellKnownText, coordinateSystemId);
370
return
DbSpatialServices
.Default.GeometryCollectionFromText(geometryCollectionWellKnownText, coordinateSystemId);
System\Data\Spatial\DbSpatialServices.cs (6)
21
private static readonly Singleton<
DbSpatialServices
> defaultServices = new Singleton<
DbSpatialServices
>(LoadDefaultServices);
23
public static
DbSpatialServices
Default
38
static
DbSpatialServices
LoadDefaultServices()
59
protected static DbGeography CreateGeography(
DbSpatialServices
spatialServices, object providerValue)
653
protected static DbGeometry CreateGeometry(
DbSpatialServices
spatialServices, object providerValue)
System\Data\Spatial\DefaultSpatialServices.cs (12)
124
return
DbSpatialServices
.CreateGeography(this, backingValue);
131
return
DbSpatialServices
.CreateGeography(this, backingValue);
185
return
DbSpatialServices
.CreateGeography(this, backingValue);
192
return
DbSpatialServices
.CreateGeography(this, backingValue);
246
return
DbSpatialServices
.CreateGeography(this, backingValue);
253
return
DbSpatialServices
.CreateGeography(this, backingValue);
478
return
DbSpatialServices
.CreateGeometry(this, backingValue);
485
return
DbSpatialServices
.CreateGeometry(this, backingValue);
539
return
DbSpatialServices
.CreateGeometry(this, backingValue);
546
return
DbSpatialServices
.CreateGeometry(this, backingValue);
600
return
DbSpatialServices
.CreateGeometry(this, backingValue);
607
return
DbSpatialServices
.CreateGeometry(this, backingValue);
System\Data\SqlClient\SqlProviderServices.cs (1)
269
protected override
DbSpatialServices
DbGetSpatialServices(string versionHint)
System\Data\SqlClient\SqlSpatialServices.cs (3)
23
/// SqlClient specific implementation of <see cref="
DbSpatialServices
"/>
115
return this.SqlTypes.IsSqlGeographyNull(normalizedProviderValue) ? null:
DbSpatialServices
.CreateGeography(this, normalizedProviderValue);
194
return this.SqlTypes.IsSqlGeometryNull(normalizedProviderValue) ? null :
DbSpatialServices
.CreateGeometry(this, normalizedProviderValue);