SpatialEdmFunctions.GeographyPolygonFromBinary(DbExpression, DbExpression) Método

Definição

Cria uma DbFunctionExpression que invoca a função "GeographyPolygonFromBinary" canônica com os argumentos especificados.Creates a DbFunctionExpression that invokes the canonical 'GeographyPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue deve ter um tipo de resultado binário, enquanto coordinateSystemId deve ter um tipo de resultado numérico inteiro.polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. O tipo de resultado da expressão é Edm.Geography.The result type of the expression is Edm.Geography.

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeographyPolygonFromBinary(System::Data::Common::CommandTrees::DbExpression ^ polygonWellKnownBinaryValue, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyPolygonFromBinary (System.Data.Common.CommandTrees.DbExpression polygonWellKnownBinaryValue, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyPolygonFromBinary : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyPolygonFromBinary (polygonWellKnownBinaryValue As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Parâmetros

polygonWellKnownBinaryValue
DbExpression

Uma expressão que fornece a representação binária conhecida do valor de polígono de geografia.An expression that provides the well known binary representation of the geography polygon value.

coordinateSystemId
DbExpression

Uma expressão que fornece a SRID (ID do sistema de coordenadas) do sistema de coordenadas do valor de polígono de geografia.An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system.

Retornos

DbFunctionExpression

Uma nova DbFunctionExpression que retorna um novo valor de polígono de geografia com base nos valores especificados.A new DbFunctionExpression that returns a new geography polygon value based on the specified values.

Exceções

polygonWellKnownBinaryValue coordinateSystemId

polygonWellKnownBinaryValue coordinateSystemId

Aplica-se a