DbExpressionBuilder.GetEntityRef(DbExpression) 메서드

정의

구조 형식으로 지정된 엔터티의 ref를 검색하는 새 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 엔터티 결과 형식이 없습니다.

적용 대상