9 references to IsGeographicType
System.Data.Entity (9)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
789
if (!(Helper.
IsGeographicType
(primitiveType) && valueKind == PrimitiveTypeKind.Geography)
System\Data\Common\Internal\Materialization\Translator.cs (3)
1073
primitiveColumnType = Helper.
IsGeographicType
((PrimitiveType)columnType.EdmType) ? PrimitiveTypeKind.Geography : PrimitiveTypeKind.Geometry;
2077
Debug.Assert(Helper.
IsGeographicType
((PrimitiveType)columnType.EdmType) || Helper.IsGeometricType((PrimitiveType)columnType.EdmType), "Spatial primitive type is neither Geometry or Geography?");
2078
result = Emit_Conditional_NotDBNull(Helper.
IsGeographicType
((PrimitiveType)columnType.EdmType) ? Emit_EnsureType(Emit_Shaper_GetGeographyColumnValue(ordinal), type)
System\Data\Common\Utils\CommandHelper.cs (1)
154
if (Helper.
IsGeographicType
(parameterType))
System\Data\Metadata\Helper.cs (3)
365
return
IsGeographicType
(type) || IsGeometricType(type);
378
isGeographic =
IsGeographicType
(pt);
575
if (
IsGeographicType
(primitiveType) && primitiveType.PrimitiveTypeKind != PrimitiveTypeKind.Geography)
System\Data\Spatial\SpatialHelpers.cs (1)
21
if (Helper.
IsGeographicType
((PrimitiveType)columnType.EdmType))