Condividi tramite


SelectExpression.CreateColumnExpression Metodo

Definizione

Crea un oggetto ColumnExpression che fa riferimento a una tabella in questo SelectExpressionoggetto .

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression CreateColumnExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase tableExpression, string columnName, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping, bool? columnNullable = default);
member this.CreateColumnExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase * string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Nullable<bool> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnExpression
Public Function CreateColumnExpression (tableExpression As TableExpressionBase, columnName As String, type As Type, typeMapping As RelationalTypeMapping, Optional columnNullable As Nullable(Of Boolean) = Nothing) As ColumnExpression

Parametri

tableExpression
TableExpressionBase

Espressione di tabella a cui fa riferimento la colonna .

columnName
String

Nome della colonna.

type
Type

Tipo CLR della colonna.

typeMapping
RelationalTypeMapping

Mapping dei tipi della colonna.

columnNullable
Nullable<Boolean>

Indica se la colonna è nullable.

Restituisce

Si applica a