SqlServerPropertyExtensions.GetIdentitySeed 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.
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. |
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
Entity Framework Core 9.0 i druge verzije
Proizvod | Verzije |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
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
Entity Framework Core 5.0 i druge verzije
Proizvod | Verzije |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0 |
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
Entity Framework Core 9.0 i druge verzije
Proizvod | Verzije |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
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
Entity Framework Core 9.0 i druge verzije
Proizvod | Verzije |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
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
Entity Framework Core 5.0
Proizvod | Verzije |
---|---|
Entity Framework Core | 5.0 |
Povratne informacije za Entity Framework
Entity Framework je projekat otvorenog koda. Izaberite vezu da biste pružili povratne informacije: