SelectExpression.CreateColumnExpression Method
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.
Creates a ColumnExpression that references a table on this 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
Parameters
- tableExpression
- TableExpressionBase
The table expression referenced by the column.
- columnName
- String
The column name.
- type
- Type
The column CLR type.
- typeMapping
- RelationalTypeMapping
The column's type mapping.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework