SqlServerPropertyExtensions.GetIdentitySeed Method

Definition

Overloads

GetIdentitySeed(IReadOnlyProperty, StoreObjectIdentifier)

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

Returns the identity seed.

C#
public static long? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

Parameters

property
IReadOnlyProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The identity seed.

Applies to

Entity Framework Core 9.0 i druge verzije
Proizvod Verzije
Entity Framework Core 6.0, 7.0, 8.0, 9.0

GetIdentitySeed(IProperty)

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

Returns the identity seed.

C#
public static int? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);

Parameters

property
IProperty

The property.

Returns

The identity seed.

Applies to

Entity Framework Core 5.0 i druge verzije
Proizvod Verzije
Entity Framework Core 3.0, 3.1, 5.0

GetIdentitySeed(IReadOnlyProperty)

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

Returns the identity seed.

C#
public static long? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);

Parameters

property
IReadOnlyProperty

The property.

Returns

The identity seed.

Applies to

Entity Framework Core 9.0 i druge verzije
Proizvod Verzije
Entity Framework Core 6.0, 7.0, 8.0, 9.0

GetIdentitySeed(IReadOnlyRelationalPropertyOverrides)

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

Returns the identity seed.

C#
public static long? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides overrides);

Parameters

overrides
IReadOnlyRelationalPropertyOverrides

The property overrides.

Returns

The identity seed.

Applies to

Entity Framework Core 9.0 i druge verzije
Proizvod Verzije
Entity Framework Core 7.0, 8.0, 9.0

GetIdentitySeed(IProperty, StoreObjectIdentifier)

Source:
SqlServerPropertyExtensions.cs

Returns the identity seed.

C#
public static int? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

Parameters

property
IProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The identity seed.

Applies to

Entity Framework Core 5.0
Proizvod Verzije
Entity Framework Core 5.0