ValuesExpression Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ValuesExpression(String, SqlParameterExpression, IReadOnlyList<String>) |
Creates a new instance of the ValuesExpression class. |
ValuesExpression(String, IReadOnlyList<RowValueExpression>, IReadOnlyList<String>) |
Creates a new instance of the ValuesExpression class. |
ValuesExpression(String, IReadOnlyList<RowValueExpression>, IReadOnlyList<String>, IEnumerable<IAnnotation>) |
Creates a new instance of the ValuesExpression class. |
ValuesExpression(String, IReadOnlyList<RowValueExpression>, SqlParameterExpression, IReadOnlyList<String>, IReadOnlyDictionary<String,IAnnotation>) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
ValuesExpression(String, SqlParameterExpression, IReadOnlyList<String>)
- Source:
- ValuesExpression.cs
Creates a new instance of the ValuesExpression class.
public ValuesExpression (string? alias, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression valuesParameter, System.Collections.Generic.IReadOnlyList<string> columnNames);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression : string * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression
Public Sub New (alias As String, valuesParameter As SqlParameterExpression, columnNames As IReadOnlyList(Of String))
Parameters
- alias
- String
A string alias for the table source.
- valuesParameter
- SqlParameterExpression
A parameterized list of values.
- columnNames
- IReadOnlyList<String>
The names of the columns contained in this table.
Applies to
ValuesExpression(String, IReadOnlyList<RowValueExpression>, IReadOnlyList<String>)
- Source:
- ValuesExpression.cs
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);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowValueExpression> * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression
Public Sub New (alias As String, rowValues As IReadOnlyList(Of RowValueExpression), columnNames As IReadOnlyList(Of String))
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.
Applies to
ValuesExpression(String, IReadOnlyList<RowValueExpression>, IReadOnlyList<String>, IEnumerable<IAnnotation>)
- Source:
- ValuesExpression.cs
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
ValuesExpression(String, IReadOnlyList<RowValueExpression>, SqlParameterExpression, IReadOnlyList<String>, IReadOnlyDictionary<String,IAnnotation>)
- Source:
- ValuesExpression.cs
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ValuesExpression (string? alias, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowValueExpression>? rowValues, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression? valuesParameter, System.Collections.Generic.IReadOnlyList<string> columnNames, System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>? annotations = default);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowValueExpression> * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression * System.Collections.Generic.IReadOnlyList<string> * System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression
Public Sub New (alias As String, rowValues As IReadOnlyList(Of RowValueExpression), valuesParameter As SqlParameterExpression, columnNames As IReadOnlyList(Of String), Optional annotations As IReadOnlyDictionary(Of String, IAnnotation) = Nothing)
Parameters
- alias
- String
- rowValues
- IReadOnlyList<RowValueExpression>
- valuesParameter
- SqlParameterExpression
- columnNames
- IReadOnlyList<String>
- annotations
- IReadOnlyDictionary<String,IAnnotation>
- Attributes
Applies to
Entity Framework