1 write to SqlGeographyType
System.Data.Entity (1)
System\Data\SqlClient\SqlTypesAssembly.cs (1)
162
this.
SqlGeographyType
= sqlGeog;
19 references to SqlGeographyType
System.Data.Entity (19)
System\Data\SqlClient\SqlSpatialDataReader.cs (1)
51
private static readonly Singleton<Func<BinaryReader, object>> sqlGeographyFromBinaryReader = new Singleton<Func<BinaryReader, object>>(() => CreateBinaryReadDelegate(SqlProviderServices.GetSqlTypesAssembly().
SqlGeographyType
));
System\Data\SqlClient\SqlSpatialServices.cs (7)
114
object normalizedProviderValue = NormalizeProviderValue(providerValue, this.SqlTypes.
SqlGeographyType
);
127
Debug.Assert(expectedSpatialType == this.SqlTypes.
SqlGeographyType
|| expectedSpatialType == this.SqlTypes.SqlGeometryType);
134
if (expectedSpatialType == this.SqlTypes.
SqlGeographyType
)
136
if (providerValueType == otherServices.SqlTypes.
SqlGeographyType
)
259
return this.SqlTypes.
SqlGeographyType
.GetMethod(methodName, BindingFlags.Public | BindingFlags.Instance, null, argTypes, null);
264
return this.SqlTypes.
SqlGeographyType
.GetMethod(methodName, BindingFlags.Public | BindingFlags.Static, null, argTypes, null);
269
return this.SqlTypes.
SqlGeographyType
.GetProperty(propertyName, BindingFlags.Public | BindingFlags.Instance);
System\Data\SqlClient\SqlSpatialServices.Generated.cs (8)
1181
this.imi_SqlGeography_STEquals = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STEquals", SqlTypes.
SqlGeographyType
); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STEquals"); return result; });
1182
this.imi_SqlGeography_STDisjoint = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDisjoint", SqlTypes.
SqlGeographyType
); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDisjoint"); return result; });
1183
this.imi_SqlGeography_STIntersects = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STIntersects", SqlTypes.
SqlGeographyType
); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STIntersects"); return result; });
1185
this.imi_SqlGeography_STDistance = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDistance", SqlTypes.
SqlGeographyType
); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDistance"); return result; });
1186
this.imi_SqlGeography_STIntersection = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STIntersection", SqlTypes.
SqlGeographyType
); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STIntersection"); return result; });
1187
this.imi_SqlGeography_STUnion = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STUnion", SqlTypes.
SqlGeographyType
); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STUnion"); return result; });
1188
this.imi_SqlGeography_STDifference = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDifference", SqlTypes.
SqlGeographyType
); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDifference"); return result; });
1189
this.imi_SqlGeography_STSymDifference = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STSymDifference", SqlTypes.
SqlGeographyType
); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STSymDifference"); return result; });
System\Data\SqlClient\SqlTypesAssembly.cs (3)
229
this.isSqlGeographyNull = Expressions.Lambda<object, bool>("sqlGeographyValue", sqlGeographyValue => sqlGeographyValue.ConvertTo(this.
SqlGeographyType
).Property<bool>("IsNull")).Compile();
232
this.geographyAsTextZMAsSqlChars = Expressions.Lambda<object, object>("sqlGeographyValue", sqlGeographyValue => sqlGeographyValue.ConvertTo(this.
SqlGeographyType
).Call("AsTextZM")).Compile();
421
object result = GetSqlTypesSpatialValue(geographyValue.AsSpatialValue(),
SqlGeographyType
);