Share via


SqlServerPropertyExtensions.GetIdentitySeed Method

Definition

Overloads

GetIdentitySeed(IReadOnlyProperty, StoreObjectIdentifier)

Returns the identity seed.

GetIdentitySeed(IProperty)

Returns the identity seed.

GetIdentitySeed(IReadOnlyProperty)

Returns the identity seed.

GetIdentitySeed(IReadOnlyRelationalPropertyOverrides)

Returns the identity seed.

GetIdentitySeed(IProperty, StoreObjectIdentifier)

Returns the identity seed.

GetIdentitySeed(IReadOnlyProperty, StoreObjectIdentifier)

Returns the identity seed.

public static long? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> Nullable<int64>
<Extension()>
Public Function GetIdentitySeed (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Long)

Parameters

property
IReadOnlyProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The identity seed.

Applies to

GetIdentitySeed(IProperty)

Returns the identity seed.

public static int? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Nullable<int>
<Extension()>
Public Function GetIdentitySeed (property As IProperty) As Nullable(Of Integer)

Parameters

property
IProperty

The property.

Returns

The identity seed.

Applies to

GetIdentitySeed(IReadOnlyProperty)

Returns the identity seed.

public static long? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Nullable<int64>
<Extension()>
Public Function GetIdentitySeed (property As IReadOnlyProperty) As Nullable(Of Long)

Parameters

property
IReadOnlyProperty

The property.

Returns

The identity seed.

Applies to

GetIdentitySeed(IReadOnlyRelationalPropertyOverrides)

Returns the identity seed.

public static long? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides overrides);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides -> Nullable<int64>
<Extension()>
Public Function GetIdentitySeed (overrides As IReadOnlyRelationalPropertyOverrides) As Nullable(Of Long)

Parameters

overrides
IReadOnlyRelationalPropertyOverrides

The property overrides.

Returns

The identity seed.

Applies to

GetIdentitySeed(IProperty, StoreObjectIdentifier)

Returns the identity seed.

public static int? GetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> Nullable<int>
<Extension()>
Public Function GetIdentitySeed (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Integer)

Parameters

property
IProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The identity seed.

Applies to