Share via


RelationalPropertyExtensions.GetComputedColumnSql Method

Definition

Overloads

GetComputedColumnSql(IProperty)

Returns the SQL expression that is used as the computed value for the column this property is mapped to.

GetComputedColumnSql(IReadOnlyProperty)

Returns the SQL expression that is used as the computed value for the column this property is mapped to.

GetComputedColumnSql(IProperty, StoreObjectIdentifier)

Returns the SQL expression that is used as the computed value for the column this property is mapped to.

GetComputedColumnSql(IReadOnlyProperty, StoreObjectIdentifier)

Returns the SQL expression that is used as the computed value for the column this property is mapped to.

GetComputedColumnSql(IProperty)

Returns the SQL expression that is used as the computed value for the column this property is mapped to.

public static string GetComputedColumnSql (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetComputedColumnSql : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetComputedColumnSql (property As IProperty) As String

Parameters

property
IProperty

The property.

Returns

The SQL expression that is used as the computed value for the column this property is mapped to.

Applies to

GetComputedColumnSql(IReadOnlyProperty)

Returns the SQL expression that is used as the computed value for the column this property is mapped to.

public static string? GetComputedColumnSql (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetComputedColumnSql : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetComputedColumnSql (property As IReadOnlyProperty) As String

Parameters

property
IReadOnlyProperty

The property.

Returns

The SQL expression that is used as the computed value for the column this property is mapped to.

Applies to

GetComputedColumnSql(IProperty, StoreObjectIdentifier)

Returns the SQL expression that is used as the computed value for the column this property is mapped to.

public static string GetComputedColumnSql (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetComputedColumnSql : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetComputedColumnSql (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As String

Parameters

property
IProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the table-like store object containing the column.

Returns

The SQL expression that is used as the computed value for the column this property is mapped to.

Applies to

GetComputedColumnSql(IReadOnlyProperty, StoreObjectIdentifier)

Returns the SQL expression that is used as the computed value for the column this property is mapped to.

public static string? GetComputedColumnSql (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetComputedColumnSql : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetComputedColumnSql (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As String

Parameters

property
IReadOnlyProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the table-like store object containing the column.

Returns

The SQL expression that is used as the computed value for the column this property is mapped to.

Applies to