ValuesExpression Constructor

Definition

Creates a new instance of the ValuesExpression class.

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)

Parameters

alias
String

A string alias for the table source.

rowValues
IReadOnlyList<RowValueExpression>

The row values for this table.

columnNames
IReadOnlyList<String>

The names of the columns contained in this table.

annotations
IEnumerable<IAnnotation>

A collection of annotations associated with this expression.

Applies to