SqlServerPropertyExtensions.SetIdentityIncrement Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
SetIdentityIncrement(IMutableProperty, Nullable<Int32>) |
Mengatur kenaikan identitas. |
SetIdentityIncrement(IMutableRelationalPropertyOverrides, Nullable<Int32>) |
Mengatur kenaikan identitas untuk tabel tertentu. |
SetIdentityIncrement(IConventionProperty, Nullable<Int32>, Boolean) |
Mengatur kenaikan identitas. |
SetIdentityIncrement(IConventionRelationalPropertyOverrides, Nullable<Int32>, Boolean) |
Mengatur kenaikan identitas untuk tabel tertentu. |
SetIdentityIncrement(IMutableProperty, Nullable<Int32>, StoreObjectIdentifier) |
Mengatur kenaikan identitas untuk tabel tertentu. |
SetIdentityIncrement(IConventionProperty, Nullable<Int32>, StoreObjectIdentifier, Boolean) |
Mengatur kenaikan identitas untuk tabel tertentu. |
SetIdentityIncrement(IMutableProperty, Nullable<Int32>)
Mengatur kenaikan identitas.
public static void SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? increment);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> -> unit
<Extension()>
Public Sub SetIdentityIncrement (property As IMutableProperty, increment As Nullable(Of Integer))
Parameter
- property
- IMutableProperty
Properti .
Berlaku untuk
SetIdentityIncrement(IMutableRelationalPropertyOverrides, Nullable<Int32>)
Mengatur kenaikan identitas untuk tabel tertentu.
public static void SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides overrides, int? increment);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides * Nullable<int> -> unit
<Extension()>
Public Sub SetIdentityIncrement (overrides As IMutableRelationalPropertyOverrides, increment As Nullable(Of Integer))
Parameter
- overrides
- IMutableRelationalPropertyOverrides
Properti akan mengambil alih.
Berlaku untuk
SetIdentityIncrement(IConventionProperty, Nullable<Int32>, Boolean)
Mengatur kenaikan identitas.
public static void SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? increment, bool fromDataAnnotation = false);
public static int? SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? increment, bool fromDataAnnotation = false);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> unit
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Sub SetIdentityIncrement (property As IConventionProperty, increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetIdentityIncrement (property As IConventionProperty, increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
Parameter
- property
- IConventionProperty
Properti .
- fromDataAnnotation
- Boolean
Menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.
Mengembalikan
Nilai yang dikonfigurasi.
Berlaku untuk
SetIdentityIncrement(IConventionRelationalPropertyOverrides, Nullable<Int32>, Boolean)
Mengatur kenaikan identitas untuk tabel tertentu.
public static int? SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides overrides, int? increment, bool fromDataAnnotation = false);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Function SetIdentityIncrement (overrides As IConventionRelationalPropertyOverrides, increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
Parameter
- overrides
- IConventionRelationalPropertyOverrides
Properti akan mengambil alih.
- fromDataAnnotation
- Boolean
Menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.
Mengembalikan
Nilai yang dikonfigurasi.
Berlaku untuk
SetIdentityIncrement(IMutableProperty, Nullable<Int32>, StoreObjectIdentifier)
Mengatur kenaikan identitas untuk tabel tertentu.
public static void SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? increment, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> * StoreObjectIdentifier -> unit
<Extension()>
Public Sub SetIdentityIncrement (property As IMutableProperty, increment As Nullable(Of Integer), ByRef storeObject As StoreObjectIdentifier)
Parameter
- property
- IMutableProperty
Properti .
- storeObject
- StoreObjectIdentifier
Pengidentifikasi tabel yang berisi kolom .
Berlaku untuk
SetIdentityIncrement(IConventionProperty, Nullable<Int32>, StoreObjectIdentifier, Boolean)
Mengatur kenaikan identitas untuk tabel tertentu.
public static int? SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? increment, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * StoreObjectIdentifier * bool -> Nullable<int>
<Extension()>
Public Function SetIdentityIncrement (property As IConventionProperty, increment As Nullable(Of Integer), ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
Parameter
- property
- IConventionProperty
Properti .
- storeObject
- StoreObjectIdentifier
Pengidentifikasi tabel yang berisi kolom .
- fromDataAnnotation
- Boolean
Menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.
Mengembalikan
Nilai yang dikonfigurasi.
Berlaku untuk
Entity Framework