Compartilhar via


SelectExpression.CreateColumnExpression Método

Definição

Cria um ColumnExpression que faz referência a uma tabela neste SelectExpression.

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

Parâmetros

tableExpression
TableExpressionBase

A expressão de tabela referenciada pela coluna.

columnName
String

O nome da coluna.

type
Type

O tipo CLR da coluna.

typeMapping
RelationalTypeMapping

O mapeamento de tipo da coluna.

columnNullable
Nullable<Boolean>

Se a coluna é anulável.

Retornos

Aplica-se a