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)
傳 ConfigurationSourceSqlServerValueGenerationStrategy 回特定資料表之 的 。
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)
傳 ConfigurationSourceSqlServerValueGenerationStrategy 回特定資料表之 的 。
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。