SqlServerPropertyExtensions.GetValueGenerationStrategyConfigurationSource Method
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.
GetValueGenerationStrategyConfigurationSource(IConventionProperty) |
Returns the ConfigurationSource for the SqlServerValueGenerationStrategy. |
GetValueGenerationStrategyConfigurationSource(IConventionRelationalPropertyOverrides) |
Returns the ConfigurationSource for the SqlServerValueGenerationStrategy for a particular table. |
GetValueGenerationStrategyConfigurationSource(IConventionProperty, StoreObjectIdentifier) |
Returns the ConfigurationSource for the SqlServerValueGenerationStrategy for a particular table. |
Returns the ConfigurationSource for the SqlServerValueGenerationStrategy.
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)
Parameters
- property
- IConventionProperty
The property.
Returns
The ConfigurationSource for the SqlServerValueGenerationStrategy.
Applies to
Entity Framework Core 9.0 и други версии
Продукт | Версии |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Returns the ConfigurationSource for the SqlServerValueGenerationStrategy for a particular table.
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)
Parameters
- overrides
- IConventionRelationalPropertyOverrides
The property overrides.
Returns
The ConfigurationSource for the SqlServerValueGenerationStrategy.
Applies to
Entity Framework Core 9.0 и други версии
Продукт | Версии |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Returns the ConfigurationSource for the SqlServerValueGenerationStrategy for a particular table.
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)
Parameters
- property
- IConventionProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of the table containing the column.
Returns
The ConfigurationSource for the SqlServerValueGenerationStrategy.
Applies to
Entity Framework Core 9.0 и други версии
Продукт | Версии |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Обратна връзка за Entity Framework
Entity Framework е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: