SqlServerPropertyExtensions.GetValueGenerationStrategyConfigurationSource 方法

定义

重载

GetValueGenerationStrategyConfigurationSource(IConventionProperty)

返回 ConfigurationSourceSqlServerValueGenerationStrategy

GetValueGenerationStrategyConfigurationSource(IConventionRelationalPropertyOverrides)

返回 ConfigurationSource 特定表的 SqlServerValueGenerationStrategy 的 。

GetValueGenerationStrategyConfigurationSource(IConventionProperty, StoreObjectIdentifier)

返回 ConfigurationSource 特定表的 SqlServerValueGenerationStrategy 的 。

GetValueGenerationStrategyConfigurationSource(IConventionProperty)

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetValueGenerationStrategyConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
static member GetValueGenerationStrategyConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetValueGenerationStrategyConfigurationSource (property As IConventionProperty) As Nullable(Of ConfigurationSource)

参数

property
IConventionProperty

属性。

返回

ConfigurationSourceSqlServerValueGenerationStrategy

适用于

GetValueGenerationStrategyConfigurationSource(IConventionRelationalPropertyOverrides)

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetValueGenerationStrategyConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides overrides);
static member GetValueGenerationStrategyConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetValueGenerationStrategyConfigurationSource (overrides As IConventionRelationalPropertyOverrides) As Nullable(Of ConfigurationSource)

参数

overrides
IConventionRelationalPropertyOverrides

属性重写。

返回

ConfigurationSourceSqlServerValueGenerationStrategy

适用于

GetValueGenerationStrategyConfigurationSource(IConventionProperty, StoreObjectIdentifier)

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetValueGenerationStrategyConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetValueGenerationStrategyConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetValueGenerationStrategyConfigurationSource (property As IConventionProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of ConfigurationSource)

参数

property
IConventionProperty

属性。

storeObject
StoreObjectIdentifier

包含列的表的标识符。

返回

ConfigurationSourceSqlServerValueGenerationStrategy

适用于