DbExpression.FromGeography(DbGeography) 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.
Creates a DbExpression that represents the specified DbGeography value, which may be null.
public static System.Data.Entity.Core.Common.CommandTrees.DbExpression FromGeography (System.Data.Entity.Spatial.DbGeography value);
static member FromGeography : System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Shared Function FromGeography (value As DbGeography) As DbExpression
Parameters
- value
- DbGeography
The DbGeography value on which the returned expression should be based.
Returns
A DbExpression that represents the specified DbGeography value.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework