1 instantiation of DbGeography
System.Data.Entity (1)
System\Data\Spatial\DbSpatialServices.cs (1)
63
return new
DbGeography
(spatialServices, providerValue);
535 references to DbGeography
System.Data.Entity (527)
System\Data\Common\CommandTrees\AbstractExpressions.cs (3)
532
/// Creates a <see cref="DbExpression"/> that represents the specified <see cref="
DbGeography
"/> value, which may be null.
536
public static DbExpression FromGeography(
DbGeography
value)
545
public static implicit operator DbExpression(
DbGeography
value)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (2)
274
var
geography = e.Value as
DbGeography
;
System\Data\Common\Internal\Materialization\Shaper.cs (1)
607
public
DbGeography
GetGeographyColumnValue(int ordinal)
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (8)
81
typeDefaultMap[PrimitiveTypeKind.Geography] =
DbGeography
.FromText("POINT EMPTY");
82
typeDefaultMap[PrimitiveTypeKind.GeographyPoint] =
DbGeography
.FromText("POINT EMPTY");
83
typeDefaultMap[PrimitiveTypeKind.GeographyLineString] =
DbGeography
.FromText("LINESTRING EMPTY");
84
typeDefaultMap[PrimitiveTypeKind.GeographyPolygon] =
DbGeography
.FromText("POLYGON EMPTY");
85
typeDefaultMap[PrimitiveTypeKind.GeographyMultiPoint] =
DbGeography
.FromText("MULTIPOINT EMPTY");
86
typeDefaultMap[PrimitiveTypeKind.GeographyMultiLineString] =
DbGeography
.FromText("MULTILINESTRING EMPTY");
87
typeDefaultMap[PrimitiveTypeKind.GeographyMultiPolygon] =
DbGeography
.FromText("MULTIPOLYGON EMPTY");
88
typeDefaultMap[PrimitiveTypeKind.GeographyCollection] =
DbGeography
.FromText("GEOMETRYCOLLECTION EMPTY");
System\Data\Metadata\Edm\PrimitiveType.cs (1)
175
return typeof(
DbGeography
);
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (2)
136
else if (typeof(System.Data.Spatial.
DbGeography
).IsAssignableFrom(clrType))
214
primitiveTypes[(int)PrimitiveTypeKind.Geography] = CreatePrimitiveType(typeof(
DbGeography
), PrimitiveTypeKind.Geography);
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (9)
172
InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.Geography], PrimitiveTypeKind.Geography, EdmConstants.Geography, typeof(
DbGeography
));
173
InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.GeographyPoint], PrimitiveTypeKind.GeographyPoint, EdmConstants.GeographyPoint, typeof(
DbGeography
));
174
InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.GeographyLineString], PrimitiveTypeKind.GeographyLineString, EdmConstants.GeographyLineString, typeof(
DbGeography
));
175
InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.GeographyPolygon], PrimitiveTypeKind.GeographyPolygon, EdmConstants.GeographyPolygon, typeof(
DbGeography
));
176
InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.GeographyMultiPoint], PrimitiveTypeKind.GeographyMultiPoint, EdmConstants.GeographyMultiPoint, typeof(
DbGeography
));
177
InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.GeographyMultiLineString], PrimitiveTypeKind.GeographyMultiLineString, EdmConstants.GeographyMultiLineString, typeof(
DbGeography
));
178
InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.GeographyMultiPolygon], PrimitiveTypeKind.GeographyMultiPolygon, EdmConstants.GeographyMultiPolygon, typeof(
DbGeography
));
179
InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.GeographyCollection], PrimitiveTypeKind.GeographyCollection, EdmConstants.GeographyCollection, typeof(
DbGeography
));
474
DbGeography
.DefaultCoordinateSystemId));
System\Data\Objects\DataClasses\StructuralObject.cs (6)
1479
/// <see cref="System.Data.Spatial.
DbGeography
"/> value to be checked.
1490
protected internal static System.Data.Spatial.
DbGeography
SetValidValue(System.Data.Spatial.
DbGeography
value, bool isNullable, string propertyName)
1507
/// <see cref="System.Data.Spatial.
DbGeography
"/> value to be checked.
1515
protected internal static System.Data.Spatial.
DbGeography
SetValidValue(System.Data.Spatial.
DbGeography
value, bool isNullable)
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (1)
262
if (parameterType != typeof(System.Data.Spatial.
DbGeography
) && parameterType != typeof(System.Data.Spatial.DbGeometry))
System\Data\Objects\ELinq\SpatialMethodCallTranslator.cs (86)
47
(method.DeclaringType == typeof(System.Data.Spatial.
DbGeography
) || method.DeclaringType == typeof(System.Data.Spatial.DbGeometry)),
56
(method.DeclaringType == typeof(System.Data.Spatial.
DbGeography
) || method.DeclaringType == typeof(System.Data.Spatial.DbGeometry)),
64
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromText(default(string)));
65
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromText(default(string), default(int)));
66
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.PointFromText(default(string), default(int)));
67
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.LineFromText(default(string), default(int)));
68
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.PolygonFromText(default(string), default(int)));
69
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiPointFromText(default(string), default(int)));
70
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiLineFromText(default(string), default(int)));
71
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiPolygonFromText(default(string), default(int)));
72
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.GeographyCollectionFromText(default(string), default(int)));
73
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromBinary(default(byte[]), default(int)));
74
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromBinary(default(byte[])));
75
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.PointFromBinary(default(byte[]), default(int)));
76
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.LineFromBinary(default(byte[]), default(int)));
77
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.PolygonFromBinary(default(byte[]), default(int)));
78
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiPointFromBinary(default(byte[]), default(int)));
79
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiLineFromBinary(default(byte[]), default(int)));
80
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiPolygonFromBinary(default(byte[]), default(int)));
81
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.GeographyCollectionFromBinary(default(byte[]), default(int)));
82
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromGml(default(string)));
83
yield return GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromGml(default(string), default(int)));
84
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.AsBinary());
85
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.AsGml());
86
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.AsText());
87
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.SpatialEquals(default(System.Data.Spatial.
DbGeography
)));
88
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Disjoint(default(System.Data.Spatial.
DbGeography
)));
89
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Intersects(default(System.Data.Spatial.
DbGeography
)));
90
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Buffer(default(double)));
91
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Distance(default(System.Data.Spatial.
DbGeography
)));
92
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Intersection(default(System.Data.Spatial.
DbGeography
)));
93
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Union(default(System.Data.Spatial.
DbGeography
)));
94
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Difference(default(System.Data.Spatial.
DbGeography
)));
95
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.SymmetricDifference(default(System.Data.Spatial.
DbGeography
)));
96
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.ElementAt(default(int)));
97
yield return GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.PointAt(default(int)));
144
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromText(default(string))), "GeographyFromText");
145
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromText(default(string), default(int))), "GeographyFromText");
146
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.PointFromText(default(string), default(int))), "GeographyPointFromText");
147
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.LineFromText(default(string), default(int))), "GeographyLineFromText");
148
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.PolygonFromText(default(string), default(int))), "GeographyPolygonFromText");
149
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiPointFromText(default(string), default(int))), "GeographyMultiPointFromText");
150
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiLineFromText(default(string), default(int))), "GeographyMultiLineFromText");
151
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiPolygonFromText(default(string), default(int))), "GeographyMultiPolygonFromText");
152
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.GeographyCollectionFromText(default(string), default(int))), "GeographyCollectionFromText");
153
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromBinary(default(byte[]), default(int))), "GeographyFromBinary");
154
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromBinary(default(byte[]))), "GeographyFromBinary");
155
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.PointFromBinary(default(byte[]), default(int))), "GeographyPointFromBinary");
156
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.LineFromBinary(default(byte[]), default(int))), "GeographyLineFromBinary");
157
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.PolygonFromBinary(default(byte[]), default(int))), "GeographyPolygonFromBinary");
158
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiPointFromBinary(default(byte[]), default(int))), "GeographyMultiPointFromBinary");
159
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiLineFromBinary(default(byte[]), default(int))), "GeographyMultiLineFromBinary");
160
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.MultiPolygonFromBinary(default(byte[]), default(int))), "GeographyMultiPolygonFromBinary");
161
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.GeographyCollectionFromBinary(default(byte[]), default(int))), "GeographyCollectionFromBinary");
162
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromGml(default(string))), "GeographyFromGml");
163
result.Add(GetStaticMethod(() => System.Data.Spatial.
DbGeography
.FromGml(default(string), default(int))), "GeographyFromGml");
164
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.AsBinary()), "AsBinary");
165
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.AsGml()), "AsGml");
166
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.AsText()), "AsText");
167
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.SpatialEquals(default(System.Data.Spatial.
DbGeography
))), "SpatialEquals");
168
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Disjoint(default(System.Data.Spatial.
DbGeography
))), "SpatialDisjoint");
169
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Intersects(default(System.Data.Spatial.
DbGeography
))), "SpatialIntersects");
170
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Buffer(default(double))), "SpatialBuffer");
171
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Distance(default(System.Data.Spatial.
DbGeography
))), "Distance");
172
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Intersection(default(System.Data.Spatial.
DbGeography
))), "SpatialIntersection");
173
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Union(default(System.Data.Spatial.
DbGeography
))), "SpatialUnion");
174
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.Difference(default(System.Data.Spatial.
DbGeography
))), "SpatialDifference");
175
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.SymmetricDifference(default(System.Data.Spatial.
DbGeography
))), "SpatialSymmetricDifference");
176
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.ElementAt(default(int))), "SpatialElementAt");
177
result.Add(GetInstanceMethod((System.Data.Spatial.
DbGeography
geo) => geo.PointAt(default(int))), "PointAt");
System\Data\Objects\ELinq\SpatialPropertyTranslator.cs (31)
48
(property.DeclaringType == typeof(System.Data.Spatial.
DbGeography
) || property.DeclaringType == typeof(System.Data.Spatial.DbGeometry)),
55
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.CoordinateSystemId);
56
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.SpatialTypeName);
57
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Dimension);
58
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.IsEmpty);
59
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.ElementCount);
60
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Latitude);
61
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Longitude);
62
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Elevation);
63
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Measure);
64
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Length);
65
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.StartPoint);
66
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.EndPoint);
67
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.IsClosed);
68
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.PointCount);
69
yield return GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Area);
100
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.CoordinateSystemId), "CoordinateSystemId");
101
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.SpatialTypeName), "SpatialTypeName");
102
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Dimension), "SpatialDimension");
103
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.IsEmpty), "IsEmptySpatial");
104
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.ElementCount), "SpatialElementCount");
105
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Latitude), "Latitude");
106
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Longitude), "Longitude");
107
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Elevation), "Elevation");
108
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Measure), "Measure");
109
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Length), "SpatialLength");
110
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.StartPoint), "StartPoint");
111
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.EndPoint), "EndPoint");
112
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.IsClosed), "IsClosedSpatial");
113
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.PointCount), "PointCount");
114
result.Add(GetProperty((System.Data.Spatial.
DbGeography
geo) => geo.Area), "Area");
System\Data\Objects\SqlClient\SqlSpatialFunctions.cs (15)
35
public static System.Data.Spatial.
DbGeography
PointGeography(System.Double? latitude, System.Double? longitude, System.Int32? spatialReferenceId)
44
public static System.String AsTextZM(System.Data.Spatial.
DbGeography
geographyValue)
53
public static System.Data.Spatial.
DbGeography
BufferWithTolerance(System.Data.Spatial.
DbGeography
geographyValue, System.Double? distance, System.Double? tolerance, System.Boolean? relative)
62
public static System.Double? EnvelopeAngle(System.Data.Spatial.
DbGeography
geographyValue)
71
public static System.Data.Spatial.
DbGeography
EnvelopeCenter(System.Data.Spatial.
DbGeography
geographyValue)
80
public static System.Boolean? Filter(System.Data.Spatial.
DbGeography
geographyValue, System.Data.Spatial.
DbGeography
geographyOther)
89
public static System.Boolean? InstanceOf(System.Data.Spatial.
DbGeography
geographyValue, System.String geometryTypeName)
99
public static System.Int32? NumRings(System.Data.Spatial.
DbGeography
geographyValue)
108
public static System.Data.Spatial.
DbGeography
Reduce(System.Data.Spatial.
DbGeography
geographyValue, System.Double? tolerance)
117
public static System.Data.Spatial.
DbGeography
RingN(System.Data.Spatial.
DbGeography
geographyValue, System.Int32? index)
System\Data\Spatial\DbGeography.cs (61)
70
/// Creates a new <see cref="
DbGeography
"/> value based on the specified well known binary value.
73
/// <returns>A new DbGeography value as defined by the well known binary value with the default geography coordinate system identifier (SRID)(<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
75
public static
DbGeography
FromBinary(byte[] wellKnownBinary)
82
/// Creates a new <see cref="
DbGeography
"/> value based on the specified well known binary value and coordinate system identifier (SRID).
89
public static
DbGeography
FromBinary(byte[] wellKnownBinary, int coordinateSystemId)
96
/// Creates a new <see cref="
DbGeography
"/> line value based on the specified well known binary value and coordinate system identifier (SRID).
103
public static
DbGeography
LineFromBinary(byte[] lineWellKnownBinary, int coordinateSystemId)
110
/// Creates a new <see cref="
DbGeography
"/> point value based on the specified well known binary value and coordinate system identifier (SRID).
117
public static
DbGeography
PointFromBinary(byte[] pointWellKnownBinary, int coordinateSystemId)
124
/// Creates a new <see cref="
DbGeography
"/> polygon value based on the specified well known binary value and coordinate system identifier (SRID).
131
public static
DbGeography
PolygonFromBinary(byte[] polygonWellKnownBinary, int coordinateSystemId)
138
/// Creates a new <see cref="
DbGeography
"/> MultiLine value based on the specified well known binary value and coordinate system identifier (SRID).
149
public static
DbGeography
MultiLineFromBinary(byte[] multiLineWellKnownBinary, int coordinateSystemId)
156
/// Creates a new <see cref="
DbGeography
"/> MultiPoint value based on the specified well known binary value and coordinate system identifier (SRID).
167
public static
DbGeography
MultiPointFromBinary(byte[] multiPointWellKnownBinary, int coordinateSystemId)
174
/// Creates a new <see cref="
DbGeography
"/> MultiPolygon value based on the specified well known binary value and coordinate system identifier (SRID).
183
public static
DbGeography
MultiPolygonFromBinary(byte[] multiPolygonWellKnownBinary, int coordinateSystemId)
190
/// Creates a new <see cref="
DbGeography
"/> collection value based on the specified well known binary value and coordinate system identifier (SRID).
197
public static
DbGeography
GeographyCollectionFromBinary(byte[] geographyCollectionWellKnownBinary, int coordinateSystemId)
208
/// Creates a new <see cref="
DbGeography
"/> value based on the specified Geography Markup Language (GML) value.
211
/// <returns>A new DbGeography value as defined by the GML value with the default geography coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
214
public static
DbGeography
FromGml(string geographyMarkup)
221
/// Creates a new <see cref="
DbGeography
"/> value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID).
229
public static
DbGeography
FromGml(string geographyMarkup, int coordinateSystemId)
240
/// Creates a new <see cref="
DbGeography
"/> value based on the specified well known text value.
243
/// <returns>A new DbGeography value as defined by the well known text value with the default geography coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
245
public static
DbGeography
FromText(string wellKnownText)
252
/// Creates a new <see cref="
DbGeography
"/> value based on the specified well known text value and coordinate system identifier (SRID).
259
public static
DbGeography
FromText(string wellKnownText, int coordinateSystemId)
266
/// Creates a new <see cref="
DbGeography
"/> line value based on the specified well known text value and coordinate system identifier (SRID).
273
public static
DbGeography
LineFromText(string lineWellKnownText, int coordinateSystemId)
280
/// Creates a new <see cref="
DbGeography
"/> point value based on the specified well known text value and coordinate system identifier (SRID).
287
public static
DbGeography
PointFromText(string pointWellKnownText, int coordinateSystemId)
294
/// Creates a new <see cref="
DbGeography
"/> polygon value based on the specified well known text value and coordinate system identifier (SRID).
301
public static
DbGeography
PolygonFromText(string polygonWellKnownText, int coordinateSystemId)
308
/// Creates a new <see cref="
DbGeography
"/> MultiLine value based on the specified well known text value and coordinate system identifier (SRID).
319
public static
DbGeography
MultiLineFromText(string multiLineWellKnownText, int coordinateSystemId)
326
/// Creates a new <see cref="
DbGeography
"/> MultiPoint value based on the specified well known text value and coordinate system identifier (SRID).
337
public static
DbGeography
MultiPointFromText(string multiPointWellKnownText, int coordinateSystemId)
344
/// Creates a new <see cref="
DbGeography
"/> MultiPolygon value based on the specified well known text value and coordinate system identifier (SRID).
353
public static
DbGeography
MultiPolygonFromText(string multiPolygonWellKnownText, int coordinateSystemId)
360
/// Creates a new <see cref="
DbGeography
"/> collection value based on the specified well known text value and coordinate system identifier (SRID).
367
public static
DbGeography
GeographyCollectionFromText(string geographyCollectionWellKnownText, int coordinateSystemId)
383
/// Gets the dimension of the given <see cref="
DbGeography
"/> value or, if the value is a collections, the largest element dimension.
437
public bool SpatialEquals(
DbGeography
other)
449
public bool Disjoint(
DbGeography
other)
461
public bool Intersects(
DbGeography
other)
477
public
DbGeography
Buffer(double? distance)
492
public double? Distance(
DbGeography
other)
504
public
DbGeography
Intersection(
DbGeography
other)
516
public
DbGeography
Union(
DbGeography
other)
528
public
DbGeography
Difference(
DbGeography
other)
540
public
DbGeography
SymmetricDifference(
DbGeography
other)
561
public
DbGeography
ElementAt(int index)
606
public
DbGeography
StartPoint { get { return this.spatialSvcs.GetStartPoint(this); } }
611
public
DbGeography
EndPoint { get { return this.spatialSvcs.GetEndPoint(this); } }
633
public
DbGeography
PointAt(int index)
System\Data\Spatial\DbGeographyWellKnownValue.cs (1)
14
/// A data contract serializable representation of a <see cref="
DbGeography
"/> value.
System\Data\Spatial\DbSpatialDataReader.cs (2)
19
/// When implemented in derived types, reads an instance of <see cref="
DbGeography
"/> from the column at the specified column ordinal.
23
public abstract
DbGeography
GetGeography(int ordinal);
System\Data\Spatial\DbSpatialServices.cs (142)
55
/// <param name="spatialServices">The spatial services instance that the returned <see cref="
DbGeography
"/> value will depend on for its implementation of spatial functionality.</param>
57
/// <returns>A new <see cref="
DbGeography
"/> instance that contains the specified <paramref name="providerValue"/> and uses the specified <paramref name="spatialServices"/> as its spatial implementation</returns>
59
protected static
DbGeography
CreateGeography(DbSpatialServices spatialServices, object providerValue)
67
/// Creates a new <see cref="
DbGeography
"/> value based on a provider-specific value that is compatible with this spatial services implementation.
73
public abstract
DbGeography
GeographyFromProviderValue(object providerValue);
76
/// Creates a provider-specific value compatible with this spatial services implementation based on the specified well known <see cref="
DbGeography
"/> representation.
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.
90
public abstract DbGeographyWellKnownValue CreateWellKnownValue(
DbGeography
geographyValue);
95
/// Creates a new <see cref="
DbGeography
"/> value based on the specified well known binary value.
98
/// <returns>A new DbGeography value as defined by the well known binary value with the default DbGeography coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
100
public abstract
DbGeography
GeographyFromBinary(byte[] wellKnownBinary);
103
/// Creates a new <see cref="
DbGeography
"/> value based on the specified well known binary value and coordinate system identifier (SRID).
107
/// <returns>A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
110
public abstract
DbGeography
GeographyFromBinary(byte[] wellKnownBinary, int coordinateSystemId);
113
/// Creates a new <see cref="
DbGeography
"/> line value based on the specified well known binary value and coordinate system identifier (SRID).
117
/// <returns>A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
120
public abstract
DbGeography
GeographyLineFromBinary(byte[] lineWellKnownBinary, int coordinateSystemId);
123
/// Creates a new <see cref="
DbGeography
"/> point value based on the specified well known binary value and coordinate system identifier (SRID).
127
/// <returns>A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
130
public abstract
DbGeography
GeographyPointFromBinary(byte[] pointWellKnownBinary, int coordinateSystemId);
133
/// Creates a new <see cref="
DbGeography
"/> polygon value based on the specified well known binary value and coordinate system identifier (SRID).
137
/// <returns>A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
140
public abstract
DbGeography
GeographyPolygonFromBinary(byte[] polygonWellKnownBinary, int coordinateSystemId);
143
/// Creates a new <see cref="
DbGeography
"/> multiline value based on the specified well known binary value and coordinate system identifier (SRID).
147
/// <returns>A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
154
public abstract
DbGeography
GeographyMultiLineFromBinary(byte[] multiLineWellKnownBinary, int coordinateSystemId);
157
/// Creates a new <see cref="
DbGeography
"/> multipoint value based on the specified well known binary value and coordinate system identifier (SRID).
161
/// <returns>A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
168
public abstract
DbGeography
GeographyMultiPointFromBinary(byte[] multiPointWellKnownBinary, int coordinateSystemId);
171
/// Creates a new <see cref="
DbGeography
"/> multipolygon value based on the specified well known binary value and coordinate system identifier (SRID).
175
/// <returns>A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
180
public abstract
DbGeography
GeographyMultiPolygonFromBinary(byte[] multiPolygonWellKnownBinary, int coordinateSystemId);
183
/// Creates a new <see cref="
DbGeography
"/> collection value based on the specified well known binary value and coordinate system identifier (SRID).
187
/// <returns>A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
190
public abstract
DbGeography
GeographyCollectionFromBinary(byte[] geographyCollectionWellKnownBinary, int coordinateSystemId);
197
/// Creates a new <see cref="
DbGeography
"/> value based on the specified well known text value.
200
/// <returns>A new DbGeography value as defined by the well known text value with the default DbGeography coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
202
public abstract
DbGeography
GeographyFromText(string wellKnownText);
205
/// Creates a new <see cref="
DbGeography
"/> value based on the specified well known text value and coordinate system identifier (SRID).
209
/// <returns>A new DbGeography value as defined by the well known text value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
212
public abstract
DbGeography
GeographyFromText(string wellKnownText, int coordinateSystemId);
215
/// Creates a new <see cref="
DbGeography
"/> line value based on the specified well known text value and coordinate system identifier (SRID).
219
/// <returns>A new DbGeography value as defined by the well known text value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
222
public abstract
DbGeography
GeographyLineFromText(string lineWellKnownText, int coordinateSystemId);
225
/// Creates a new <see cref="
DbGeography
"/> point value based on the specified well known text value and coordinate system identifier (SRID).
229
/// <returns>A new DbGeography value as defined by the well known text value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
232
public abstract
DbGeography
GeographyPointFromText(string pointWellKnownText, int coordinateSystemId);
235
/// Creates a new <see cref="
DbGeography
"/> polygon value based on the specified well known text value and coordinate system identifier (SRID).
239
/// <returns>A new DbGeography value as defined by the well known text value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
242
public abstract
DbGeography
GeographyPolygonFromText(string polygonWellKnownText, int coordinateSystemId);
245
/// Creates a new <see cref="
DbGeography
"/> multiline value based on the specified well known text value and coordinate system identifier (SRID).
249
/// <returns>A new DbGeography value as defined by the well known text value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
256
public abstract
DbGeography
GeographyMultiLineFromText(string multiLineWellKnownText, int coordinateSystemId);
259
/// Creates a new <see cref="
DbGeography
"/> multipoint value based on the specified well known text value and coordinate system identifier (SRID).
263
/// <returns>A new DbGeography value as defined by the well known text value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
270
public abstract
DbGeography
GeographyMultiPointFromText(string multiPointWellKnownText, int coordinateSystemId);
273
/// Creates a new <see cref="
DbGeography
"/> multipolygon value based on the specified well known text value and coordinate system identifier (SRID).
277
/// <returns>A new DbGeography value as defined by the well known text value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
282
public abstract
DbGeography
GeographyMultiPolygonFromText(string multiPolygonWellKnownText, int coordinateSystemId);
285
/// Creates a new <see cref="
DbGeography
"/> collection value based on the specified well known text value and coordinate system identifier (SRID).
289
/// <returns>A new DbGeography value as defined by the well known text value with the specified coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
292
public abstract
DbGeography
GeographyCollectionFromText(string geographyCollectionWellKnownText, int coordinateSystemId);
299
/// Creates a new <see cref="
DbGeography
"/> value based on the specified Geography Markup Language (GML) value.
302
/// <returns>A new DbGeography value as defined by the GML value with the default DbGeography coordinate system identifier (SRID) (<see cref="
DbGeography
.DefaultCoordinateSystemId"/>).</returns>
305
public abstract
DbGeography
GeographyFromGml(string geographyMarkup);
308
/// Creates a new <see cref="
DbGeography
"/> value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID).
316
public abstract
DbGeography
GeographyFromGml(string geographyMarkup, int coordinateSystemId);
329
public abstract int GetCoordinateSystemId(
DbGeography
geographyValue);
332
/// Gets the dimension of the given <see cref="
DbGeography
"/> value or, if the value is a collections, the largest element dimension.
335
/// <returns>The dimension of <paramref name="geographyValue"/>, or the largest element dimension if <see cref="
DbGeography
"/> is a collection.</returns>
338
public abstract int GetDimension(
DbGeography
geographyValue);
347
public abstract string GetSpatialTypeName(
DbGeography
geographyValue);
356
public abstract bool GetIsEmpty(
DbGeography
geographyValue);
363
/// Gets the well known text representation of the given <see cref="
DbGeography
"/> value. This value should include only the Longitude and Latitude of points.
369
public abstract string AsText(
DbGeography
geographyValue);
372
/// Gets the well known text representation of the given <see cref="
DbGeography
"/> value, including Longitude, Latitude, Elevation (Z) and Measure (M) for points.
378
public virtual string AsTextIncludingElevationAndMeasure(
DbGeography
geographyValue)
384
/// Gets the well known binary representation of the given <see cref="
DbGeography
"/> value.
390
public abstract byte[] AsBinary(
DbGeography
geographyValue);
394
/// Generates the Geography Markup Language (GML) representation of this <see cref="
DbGeography
"/> value.
401
public abstract string AsGml(
DbGeography
geographyValue);
408
/// Determines whether the two given <see cref="
DbGeography
"/> values are spatially equal.
415
public abstract bool SpatialEquals(
DbGeography
geographyValue,
DbGeography
otherGeography);
418
/// Determines whether the two given <see cref="
DbGeography
"/> values are spatially disjoint.
425
public abstract bool Disjoint(
DbGeography
geographyValue,
DbGeography
otherGeography);
428
/// Determines whether the two given <see cref="
DbGeography
"/> values spatially intersect.
435
public abstract bool Intersects(
DbGeography
geographyValue,
DbGeography
otherGeography);
442
/// Creates a geography value representing all points less than or equal to <paramref name="distance"/> from the given <see cref="
DbGeography
"/> value.
449
public abstract
DbGeography
Buffer(
DbGeography
geographyValue, double distance);
452
/// Computes the distance between the closest points in two <see cref="
DbGeography
"/> values.
459
public abstract double Distance(
DbGeography
geographyValue,
DbGeography
otherGeography);
462
/// Computes the intersection of two <see cref="
DbGeography
"/> values.
469
public abstract
DbGeography
Intersection(
DbGeography
geographyValue,
DbGeography
otherGeography);
472
/// Computes the union of two <see cref="
DbGeography
"/> values.
479
public abstract
DbGeography
Union(
DbGeography
geographyValue,
DbGeography
otherGeography);
482
/// Computes the difference of two <see cref="
DbGeography
"/> values.
489
public abstract
DbGeography
Difference(
DbGeography
geographyValue,
DbGeography
otherGeography);
492
/// Computes the symmetric difference of two <see cref="
DbGeography
"/> values.
499
public abstract
DbGeography
SymmetricDifference(
DbGeography
geographyValue,
DbGeography
otherGeography);
506
/// Returns the number of elements in the given <see cref="
DbGeography
"/> value, if it represents a geography collection.
512
public abstract int? GetElementCount(
DbGeography
geographyValue);
515
/// Returns an element of the given <see cref="
DbGeography
"/> value, if it represents a geography collection.
522
public abstract
DbGeography
ElementAt(
DbGeography
geographyValue, int index);
529
/// Returns the Latitude coordinate of the given <see cref="
DbGeography
"/> value, if it represents a point.
535
public abstract double? GetLatitude(
DbGeography
geographyValue);
538
/// Returns the Longitude coordinate of the given <see cref="
DbGeography
"/> value, if it represents a point.
544
public abstract double? GetLongitude(
DbGeography
geographyValue);
547
/// Returns the elevation (Z coordinate) of the given <see cref="
DbGeography
"/> value, if it represents a point.
553
public abstract double? GetElevation(
DbGeography
geographyValue);
556
/// Returns the M (Measure) coordinate of the given <see cref="
DbGeography
"/> value, if it represents a point.
562
public abstract double? GetMeasure(
DbGeography
geographyValue);
569
/// Returns a nullable double value that indicates the length of the given <see cref="
DbGeography
"/> value, which may be null if the value does not represent a curve.
575
public abstract double? GetLength(
DbGeography
geographyValue);
578
/// Returns a <see cref="
DbGeography
"/> value that represents the start point of the given DbGeography value, which may be null if the value does not represent a curve.
584
public abstract
DbGeography
GetStartPoint(
DbGeography
geographyValue);
587
/// Returns a <see cref="
DbGeography
"/> value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve.
593
public abstract
DbGeography
GetEndPoint(
DbGeography
geographyValue);
596
/// Returns a nullable Boolean value that whether the given <see cref="
DbGeography
"/> value is closed, which may be null if the value does not represent a curve.
602
public abstract bool? GetIsClosed(
DbGeography
geographyValue);
609
/// Returns the number of points in the given <see cref="
DbGeography
"/> value, if it represents a linestring or linear ring.
615
public abstract int? GetPointCount(
DbGeography
geographyValue);
618
/// Returns a point element of the given <see cref="
DbGeography
"/> value, if it represents a linestring or linear ring.
625
public abstract
DbGeography
PointAt(
DbGeography
geographyValue, int index);
632
/// Returns a nullable double value that indicates the area of the given <see cref="
DbGeography
"/> value, which may be null if the value does not represent a surface.
638
public abstract double? GetArea(
DbGeography
geographyValue);
System\Data\Spatial\DefaultSpatialServices.cs (72)
68
private static ReadOnlySpatialValues CheckCompatible(
DbGeography
geographyValue)
98
public override
DbGeography
GeographyFromProviderValue(object providerValue)
111
public override DbGeographyWellKnownValue CreateWellKnownValue(
DbGeography
geographyValue)
120
public override
DbGeography
GeographyFromBinary(byte[] geographyBinary)
123
ReadOnlySpatialValues backingValue = new ReadOnlySpatialValues(
DbGeography
.DefaultCoordinateSystemId, textValue: null, binaryValue: geographyBinary, gmlValue: null);
127
public override
DbGeography
GeographyFromBinary(byte[] geographyBinary, int spatialReferenceSystemId)
134
public override
DbGeography
GeographyLineFromBinary(byte[] geographyBinary, int spatialReferenceSystemId)
140
public override
DbGeography
GeographyPointFromBinary(byte[] geographyBinary, int spatialReferenceSystemId)
146
public override
DbGeography
GeographyPolygonFromBinary(byte[] geographyBinary, int spatialReferenceSystemId)
152
public override
DbGeography
GeographyMultiLineFromBinary(byte[] geographyBinary, int spatialReferenceSystemId)
158
public override
DbGeography
GeographyMultiPointFromBinary(byte[] geographyBinary, int spatialReferenceSystemId)
165
public override
DbGeography
GeographyMultiPolygonFromBinary(byte[] geographyBinary, int spatialReferenceSystemId)
171
public override
DbGeography
GeographyCollectionFromBinary(byte[] geographyBinary, int spatialReferenceSystemId)
181
public override
DbGeography
GeographyFromText(string geographyText)
184
ReadOnlySpatialValues backingValue = new ReadOnlySpatialValues(
DbGeography
.DefaultCoordinateSystemId, textValue: geographyText, binaryValue: null, gmlValue: null);
188
public override
DbGeography
GeographyFromText(string geographyText, int spatialReferenceSystemId)
195
public override
DbGeography
GeographyLineFromText(string geographyText, int spatialReferenceSystemId)
201
public override
DbGeography
GeographyPointFromText(string geographyText, int spatialReferenceSystemId)
207
public override
DbGeography
GeographyPolygonFromText(string geographyText, int spatialReferenceSystemId)
213
public override
DbGeography
GeographyMultiLineFromText(string geographyText, int spatialReferenceSystemId)
219
public override
DbGeography
GeographyMultiPointFromText(string geographyText, int spatialReferenceSystemId)
226
public override
DbGeography
GeographyMultiPolygonFromText(string geographyText, int spatialReferenceSystemId)
232
public override
DbGeography
GeographyCollectionFromText(string geographyText, int spatialReferenceSystemId)
242
public override
DbGeography
GeographyFromGml(string geographyMarkup)
245
ReadOnlySpatialValues backingValue = new ReadOnlySpatialValues(
DbGeography
.DefaultCoordinateSystemId, textValue: null, binaryValue: null, gmlValue: geographyMarkup);
249
public override
DbGeography
GeographyFromGml(string geographyMarkup, int spatialReferenceSystemId)
260
public override int GetCoordinateSystemId(
DbGeography
geographyValue)
267
public override int GetDimension(
DbGeography
geographyValue)
272
public override string GetSpatialTypeName(
DbGeography
geographyValue)
277
public override bool GetIsEmpty(
DbGeography
geographyValue)
286
public override string AsText(
DbGeography
geographyValue)
293
public override byte[] AsBinary(
DbGeography
geographyValue)
300
public override string AsGml(
DbGeography
geographyValue)
311
public override bool SpatialEquals(
DbGeography
geographyValue,
DbGeography
otherGeography)
316
public override bool Disjoint(
DbGeography
geographyValue,
DbGeography
otherGeography)
321
public override bool Intersects(
DbGeography
geographyValue,
DbGeography
otherGeography)
330
public override
DbGeography
Buffer(
DbGeography
geographyValue, double distance)
335
public override double Distance(
DbGeography
geographyValue,
DbGeography
otherGeography)
340
public override
DbGeography
Intersection(
DbGeography
geographyValue,
DbGeography
otherGeography)
345
public override
DbGeography
Union(
DbGeography
geographyValue,
DbGeography
otherGeography)
350
public override
DbGeography
Difference(
DbGeography
geographyValue,
DbGeography
otherGeography)
355
public override
DbGeography
SymmetricDifference(
DbGeography
geographyValue,
DbGeography
otherGeography)
365
public override int? GetElementCount(
DbGeography
geographyValue)
370
public override
DbGeography
ElementAt(
DbGeography
geographyValue, int index)
379
public override double? GetLatitude(
DbGeography
geographyValue)
384
public override double? GetLongitude(
DbGeography
geographyValue)
389
public override double? GetElevation(
DbGeography
geographyValue)
394
public override double? GetMeasure(
DbGeography
geographyValue)
403
public override double? GetLength(
DbGeography
geographyValue)
408
public override
DbGeography
GetEndPoint(
DbGeography
geographyValue)
413
public override
DbGeography
GetStartPoint(
DbGeography
geographyValue)
418
public override bool? GetIsClosed(
DbGeography
geographyValue)
427
public override int? GetPointCount(
DbGeography
geographyValue)
432
public override
DbGeography
PointAt(
DbGeography
geographyValue, int index)
441
public override double? GetArea(
DbGeography
geographyValue)
System\Data\SqlClient\IDbSpatialValue.cs (7)
16
/// Adapter interface to make working with instances of <see cref="DbGeometry"/> or <see cref="
DbGeography
"/> easier.
39
/// Returns an instance of <see cref="IDbSpatialValue"/> that wraps the specified <see cref="
DbGeography
"/> value.
44
internal static IDbSpatialValue AsSpatialValue(this
DbGeography
geographyValue)
71
private readonly
DbGeography
value;
73
internal DbGeographyAdapter(
DbGeography
geomValue)
78
private TResult NullIfNotImplemented<TResult>(Func<
DbGeography
, TResult> accessor)
91
private int? NullIfNotImplemented(Func<
DbGeography
, int> accessor)
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (1)
474
private static readonly DbExpression defaultGeographySridExpression = DbExpressionBuilder.Constant(
DbGeography
.DefaultCoordinateSystemId);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
987
AppendSpatialConstant(result, ((
DbGeography
)e.Value).AsSpatialValue());
System\Data\SqlClient\SqlProviderServices.cs (2)
420
DbGeography
geographyValue = value as
DbGeography
;
System\Data\SqlClient\SqlSpatialDataReader.cs (1)
35
public override
DbGeography
GetGeography(int ordinal)
System\Data\SqlClient\SqlSpatialServices.cs (4)
111
public override
DbGeography
GeographyFromProviderValue(object providerValue)
156
public override DbGeographyWellKnownValue CreateWellKnownValue(
DbGeography
geographyValue)
242
public override string AsTextIncludingElevationAndMeasure(
DbGeography
geographyValue)
295
private object ConvertToSqlValue(
DbGeography
geographyValue, string argumentName)
System\Data\SqlClient\SqlSpatialServices.Generated.cs (66)
29
public override System.Data.Spatial.
DbGeography
GeographyFromText(string geographyText)
36
public override System.Data.Spatial.
DbGeography
GeographyFromText(string geographyText, int srid)
43
public override System.Data.Spatial.
DbGeography
GeographyPointFromText(string pointText, int srid)
50
public override System.Data.Spatial.
DbGeography
GeographyLineFromText(string lineText, int srid)
57
public override System.Data.Spatial.
DbGeography
GeographyPolygonFromText(string polygonText, int srid)
64
public override System.Data.Spatial.
DbGeography
GeographyMultiPointFromText(string multiPointText, int srid)
71
public override System.Data.Spatial.
DbGeography
GeographyMultiLineFromText(string multiLineText, int srid)
78
public override System.Data.Spatial.
DbGeography
GeographyMultiPolygonFromText(string multiPolygonText, int srid)
85
public override System.Data.Spatial.
DbGeography
GeographyCollectionFromText(string geographyCollectionText, int srid)
92
public override System.Data.Spatial.
DbGeography
GeographyFromBinary(byte[] geographyBytes, int srid)
99
public override System.Data.Spatial.
DbGeography
GeographyFromBinary(byte[] geographyBytes)
106
public override System.Data.Spatial.
DbGeography
GeographyPointFromBinary(byte[] pointBytes, int srid)
113
public override System.Data.Spatial.
DbGeography
GeographyLineFromBinary(byte[] lineBytes, int srid)
120
public override System.Data.Spatial.
DbGeography
GeographyPolygonFromBinary(byte[] polygonBytes, int srid)
127
public override System.Data.Spatial.
DbGeography
GeographyMultiPointFromBinary(byte[] multiPointBytes, int srid)
134
public override System.Data.Spatial.
DbGeography
GeographyMultiLineFromBinary(byte[] multiLineBytes, int srid)
141
public override System.Data.Spatial.
DbGeography
GeographyMultiPolygonFromBinary(byte[] multiPolygonBytes, int srid)
148
public override System.Data.Spatial.
DbGeography
GeographyCollectionFromBinary(byte[] geographyCollectionBytes, int srid)
155
public override System.Data.Spatial.
DbGeography
GeographyFromGml(string geographyGml)
162
public override System.Data.Spatial.
DbGeography
GeographyFromGml(string geographyGml, int srid)
169
public override int GetCoordinateSystemId(System.Data.Spatial.
DbGeography
geographyValue)
177
public override string GetSpatialTypeName(System.Data.Spatial.
DbGeography
geographyValue)
185
public override int GetDimension(System.Data.Spatial.
DbGeography
geographyValue)
193
public override byte[] AsBinary(System.Data.Spatial.
DbGeography
geographyValue)
201
public override string AsGml(System.Data.Spatial.
DbGeography
geographyValue)
209
public override string AsText(System.Data.Spatial.
DbGeography
geographyValue)
217
public override bool GetIsEmpty(System.Data.Spatial.
DbGeography
geographyValue)
225
public override bool SpatialEquals(System.Data.Spatial.
DbGeography
geographyValue1, System.Data.Spatial.
DbGeography
geographyValue2)
234
public override bool Disjoint(System.Data.Spatial.
DbGeography
geographyValue1, System.Data.Spatial.
DbGeography
geographyValue2)
243
public override bool Intersects(System.Data.Spatial.
DbGeography
geographyValue1, System.Data.Spatial.
DbGeography
geographyValue2)
252
public override System.Data.Spatial.
DbGeography
Buffer(System.Data.Spatial.
DbGeography
geographyValue, double distance)
260
public override double Distance(System.Data.Spatial.
DbGeography
geographyValue1, System.Data.Spatial.
DbGeography
geographyValue2)
269
public override System.Data.Spatial.
DbGeography
Intersection(System.Data.Spatial.
DbGeography
geographyValue1, System.Data.Spatial.
DbGeography
geographyValue2)
278
public override System.Data.Spatial.
DbGeography
Union(System.Data.Spatial.
DbGeography
geographyValue1, System.Data.Spatial.
DbGeography
geographyValue2)
287
public override System.Data.Spatial.
DbGeography
Difference(System.Data.Spatial.
DbGeography
geometryValue1, System.Data.Spatial.
DbGeography
geometryValue2)
296
public override System.Data.Spatial.
DbGeography
SymmetricDifference(System.Data.Spatial.
DbGeography
geometryValue1, System.Data.Spatial.
DbGeography
geometryValue2)
305
public override int? GetElementCount(System.Data.Spatial.
DbGeography
geographyValue)
313
public override System.Data.Spatial.
DbGeography
ElementAt(System.Data.Spatial.
DbGeography
geographyValue, int nValue)
321
public override double? GetLatitude(System.Data.Spatial.
DbGeography
geographyValue)
329
public override double? GetLongitude(System.Data.Spatial.
DbGeography
geographyValue)
337
public override double? GetElevation(System.Data.Spatial.
DbGeography
geographyValue)
345
public override double? GetMeasure(System.Data.Spatial.
DbGeography
geographyValue)
353
public override double? GetLength(System.Data.Spatial.
DbGeography
geographyValue)
361
public override System.Data.Spatial.
DbGeography
GetStartPoint(System.Data.Spatial.
DbGeography
geographyValue)
369
public override System.Data.Spatial.
DbGeography
GetEndPoint(System.Data.Spatial.
DbGeography
geographyValue)
377
public override bool? GetIsClosed(System.Data.Spatial.
DbGeography
geographyValue)
385
public override int? GetPointCount(System.Data.Spatial.
DbGeography
geographyValue)
393
public override System.Data.Spatial.
DbGeography
PointAt(System.Data.Spatial.
DbGeography
geographyValue, int nValue)
401
public override double? GetArea(System.Data.Spatial.
DbGeography
geographyValue)
System\Data\SqlClient\SqlTypesAssembly.cs (2)
387
internal string GeographyAsTextZM(
DbGeography
geographyValue)
418
internal object ConvertToSqlTypesGeography(
DbGeography
geographyValue)
System.Web.DynamicData (2)
DynamicData\FieldTemplateFactory.cs (1)
89
_typesFallBacks[typeof(
DbGeography
)] = typeof(string);
DynamicData\MetaColumn.cs (1)
338
if (ColumnType == typeof(
DbGeography
)) return true;
System.Web.Entity (6)
System\Data\WebControls\EntityDataSourceUtil.cs (6)
530
DbGeography
geographyResult;
536
else if (type.IsAssignableFrom(typeof(
DbGeography
)) && TryParseGeography(s, out geographyResult))
585
private static bool TryParseGeography(string stringValue, out
DbGeography
result)
587
return TryParseGeo<
DbGeography
>(stringValue, (geometryText, srid) =>
DbGeography
.FromText(geometryText, srid), out result);
614
Debug.Assert(typeof(
DbGeography
).IsAssignableFrom(typeof(T)) || typeof(DbGeometry).IsAssignableFrom(typeof(T)), "This method should be called only for spatial type");