Прочетете на английски

Споделяне чрез


SqlServerPropertyExtensions.GetValueGenerationStrategyConfigurationSource Method

Definition

Overloads

GetValueGenerationStrategyConfigurationSource(IConventionProperty)

Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
C#
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetValueGenerationStrategyConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);

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

GetValueGenerationStrategyConfigurationSource(IConventionRelationalPropertyOverrides)

Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs

Returns the ConfigurationSource for the SqlServerValueGenerationStrategy for a particular table.

C#
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetValueGenerationStrategyConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides overrides);

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

GetValueGenerationStrategyConfigurationSource(IConventionProperty, StoreObjectIdentifier)

Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs
Source:
SqlServerPropertyExtensions.cs

Returns the ConfigurationSource for the SqlServerValueGenerationStrategy for a particular table.

C#
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetValueGenerationStrategyConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

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