DbExpressionBuilder.BindAs(DbExpression, String) 메서드

정의

지정된 변수 이름을 사용하여 지정된 식을 바인딩하는 새 DbExpressionBinding을 만듭니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbExpressionBinding ^ BindAs(System::Data::Common::CommandTrees::DbExpression ^ input, System::String ^ varName);
public static System.Data.Common.CommandTrees.DbExpressionBinding BindAs (this System.Data.Common.CommandTrees.DbExpression input, string varName);
static member BindAs : System.Data.Common.CommandTrees.DbExpression * string -> System.Data.Common.CommandTrees.DbExpressionBinding
<Extension()>
Public Function BindAs (input As DbExpression, varName As String) As DbExpressionBinding

매개 변수

input
DbExpression

바인딩할 식입니다.

varName
String

바인딩에 사용할 변수 이름입니다.

반환

지정된 식 및 변수 이름을 사용하는 새 식 바인딩입니다.

예외

input 또는 varName가 null입니다.

input에 컬렉션 결과가 없습니다.

적용 대상