SqlServerPropertyExtensions.GetValueGenerationStrategyConfigurationSource 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
属性。
返回
ConfigurationSource 的 SqlServerValueGenerationStrategy。
适用于
GetValueGenerationStrategyConfigurationSource(IConventionRelationalPropertyOverrides)
返回 ConfigurationSource 特定表的 SqlServerValueGenerationStrategy 的 。
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
属性重写。
返回
ConfigurationSource 的 SqlServerValueGenerationStrategy。
适用于
GetValueGenerationStrategyConfigurationSource(IConventionProperty, StoreObjectIdentifier)
返回 ConfigurationSource 特定表的 SqlServerValueGenerationStrategy 的 。
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
包含列的表的标识符。
返回
ConfigurationSource 的 SqlServerValueGenerationStrategy。