SqlServerPropertyExtensions.SetIdentitySeed Yöntem

Tanım

Aşırı Yüklemeler

SetIdentitySeed(IMutableProperty, Nullable<Int32>)

Kimlik çekirdeğini ayarlar.

SetIdentitySeed(IMutableProperty, Nullable<Int64>)

Kimlik çekirdeğini ayarlar.

SetIdentitySeed(IConventionProperty, Nullable<Int32>, Boolean)

Kimlik çekirdeğini ayarlar.

SetIdentitySeed(IConventionProperty, Nullable<Int64>, Boolean)

Kimlik çekirdeğini ayarlar.

SetIdentitySeed(IMutableProperty, Nullable<Int32>)

Kimlik çekirdeğini ayarlar.

public static void SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? seed);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> -> unit
<Extension()>
Public Sub SetIdentitySeed (property As IMutableProperty, seed As Nullable(Of Integer))

Parametreler

property
IMutableProperty

Özellik.

seed
Nullable<Int32>

Ayarlanacak değer.

Şunlara uygulanır

SetIdentitySeed(IMutableProperty, Nullable<Int64>)

Kimlik çekirdeğini ayarlar.

public static void SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, long? seed);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int64> -> unit
<Extension()>
Public Sub SetIdentitySeed (property As IMutableProperty, seed As Nullable(Of Long))

Parametreler

property
IMutableProperty

Özellik.

seed
Nullable<Int64>

Ayarlanacak değer.

Şunlara uygulanır

SetIdentitySeed(IConventionProperty, Nullable<Int32>, Boolean)

Kimlik çekirdeğini ayarlar.

public static void SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? seed, bool fromDataAnnotation = false);
public static int? SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? seed, bool fromDataAnnotation = false);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> unit
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Sub SetIdentitySeed (property As IConventionProperty, seed As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetIdentitySeed (property As IConventionProperty, seed As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)

Parametreler

property
IConventionProperty

Özellik.

seed
Nullable<Int32>

Ayarlanacak değer.

fromDataAnnotation
Boolean

Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.

Döndürülenler

Nullable<Int32>

Yapılandırılan değer.

Şunlara uygulanır

SetIdentitySeed(IConventionProperty, Nullable<Int64>, Boolean)

Kimlik çekirdeğini ayarlar.

public static long? SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, long? seed, bool fromDataAnnotation = false);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int64> * bool -> Nullable<int64>
<Extension()>
Public Function SetIdentitySeed (property As IConventionProperty, seed As Nullable(Of Long), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Long)

Parametreler

property
IConventionProperty

Özellik.

seed
Nullable<Int64>

Ayarlanacak değer.

fromDataAnnotation
Boolean

Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.

Döndürülenler

Nullable<Int64>

Yapılandırılan değer.

Şunlara uygulanır