SpatialEdmFunctions.GeographyPolygonFromText 메서드

정의

지정된 인수를 사용하여 정식 'GeographyPolygonFromText' 함수를 호출하는 DbFunctionExpression을 만듭니다. polygonWellKnownText은 문자열 결과 형식이 있어야 하는 반면 coordinateSystemId는 정수 숫자 결과 형식이 있어야 합니다. 식의 결과 형식은 Edm.Geography입니다.

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

매개 변수

polygonWellKnownText
DbExpression

지리 다각형 값의 잘 알려진 텍스트 표현을 제공하는 식입니다.

coordinateSystemId
DbExpression

지리 다각형 값 좌표계의 좌표계 ID(SRID)를 제공하는 식입니다.

반환

지정된 값을 기반으로 새로운 지리 다각형 값을 반환하는 새 DbFunctionExpression입니다.

예외

polygonWellKnownText coordinateSystemId

polygonWellKnownText coordinateSystemId

적용 대상