ValuesExpression 构造函数

定义

创建 ValuesExpression 类的新实例。

public ValuesExpression (string? alias, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowValueExpression> rowValues, System.Collections.Generic.IReadOnlyList<string> columnNames, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>? annotations = default);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowValueExpression> * System.Collections.Generic.IReadOnlyList<string> * seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression
Public Sub New (alias As String, rowValues As IReadOnlyList(Of RowValueExpression), columnNames As IReadOnlyList(Of String), Optional annotations As IEnumerable(Of IAnnotation) = Nothing)

参数

alias
String

表源的字符串别名。

rowValues
IReadOnlyList<RowValueExpression>

此表的行值。

columnNames
IReadOnlyList<String>

此表中包含的列的名称。

annotations
IEnumerable<IAnnotation>

与此表达式关联的批注的集合。

适用于