SqlServerPropertyBuilderExtensions.ForSqlServerHasIdentityIncrement(IConventionPropertyBuilder, Nullable<Int32>, Boolean) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Dikkat
Use HasIdentityColumnIncrement
kimlik doğrulama için SQL Server yapılandırıyor.
[System.Obsolete("Use HasIdentityColumnIncrement")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder ForSqlServerHasIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, int? increment, bool fromDataAnnotation = false);
[<System.Obsolete("Use HasIdentityColumnIncrement")>]
static member ForSqlServerHasIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Nullable<int> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder
<Extension()>
Public Function ForSqlServerHasIdentityIncrement (propertyBuilder As IConventionPropertyBuilder, increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As IConventionPropertyBuilder
Parametreler
- propertyBuilder
- IConventionPropertyBuilder
Yapılandırılan özelliğin oluşturucusu.
- fromDataAnnotation
- Boolean
Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.
Döndürülenler
Yapılandırma uygulanmışsa aynı oluşturucu örneği, aksi takdirde null olur.
- Öznitelikler