SpatialEdmFunctions.GeographyFromGml Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GeographyFromGml(DbExpression) |
Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. |
GeographyFromGml(DbExpression, DbExpression) |
Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. |
GeographyFromGml(DbExpression)
Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression GeographyFromGml (System.Data.Entity.Core.Common.CommandTrees.DbExpression geographyMarkup);
static member GeographyFromGml : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function GeographyFromGml (geographyMarkup As DbExpression) As DbFunctionExpression
Parameters
- geographyMarkup
- DbExpression
An expression that provides the Geography Markup Language (GML) representation of the geography value.
Returns
A new DbFunctionExpression that returns a new geography value based on the specified value with the default coordinate system id (SRID) of the underlying provider.
- Attributes
Applies to
GeographyFromGml(DbExpression, DbExpression)
Creates a DbFunctionExpression that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression GeographyFromGml (System.Data.Entity.Core.Common.CommandTrees.DbExpression geographyMarkup, System.Data.Entity.Core.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyFromGml : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function GeographyFromGml (geographyMarkup As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression
Parameters
- geographyMarkup
- DbExpression
An expression that provides the Geography Markup Language (GML) representation of the geography value.
- coordinateSystemId
- DbExpression
An expression that provides the coordinate system id (SRID) of the geography value's coordinate system.
Returns
A new DbFunctionExpression that returns a new geography value based on the specified values.
- Attributes
Applies to
Entity Framework