DbExpressionBuilder.GetEntityRef(DbExpression) 메서드

정의

구조적 형식의 지정된 엔터티에 대한 참조를 검색하는 새 DbEntityRefExpression을 만듭니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbEntityRefExpression ^ GetEntityRef(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbEntityRefExpression GetEntityRef (this System.Data.Common.CommandTrees.DbExpression argument);
static member GetEntityRef : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbEntityRefExpression
<Extension()>
Public Function GetEntityRef (argument As DbExpression) As DbEntityRefExpression

매개 변수

argument
DbExpression

엔터티를 제공하는 식입니다. 이 식의 결과 형식은 엔터티 형식이어야 합니다.

반환

지정된 엔터티에 대한 참조를 검색하는 새 DbEntityRefExpression입니다.

예외

argument가 null입니다.

argument에 엔터티 결과 형식이 없습니다.

적용 대상