DbExpressionBuilder.NewRow 메서드

정의

지정된 명명된 열과 지정된 값이 식으로 지정된 행을 생성하는 새 DbNewInstanceExpression 열을 만듭니다.

public:
 static System::Data::Common::CommandTrees::DbNewInstanceExpression ^ NewRow(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Data::Common::CommandTrees::DbExpression ^>> ^ columnValues);
public static System.Data.Common.CommandTrees.DbNewInstanceExpression NewRow(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,System.Data.Common.CommandTrees.DbExpression>> columnValues);
static member NewRow : seq<System.Collections.Generic.KeyValuePair<string, System.Data.Common.CommandTrees.DbExpression>> -> System.Data.Common.CommandTrees.DbNewInstanceExpression
Public Function NewRow (columnValues As IEnumerable(Of KeyValuePair(Of String, DbExpression))) As DbNewInstanceExpression

매개 변수

columnValues
IEnumerable<KeyValuePair<String,DbExpression>>

행의 구조와 값을 정의하는 string-DbExpression 키-값 쌍의 목록입니다.

반품

행의 생성을 나타내는 새 DbNewInstanceExpression입니다.

예외

columnValues 가 null이거나 null 열 이름 또는 식이 있는 요소를 포함합니다.

columnValues 가 비어 있거나 중복되거나 잘못된 열 이름을 포함합니다.

적용 대상