SqlServerPropertyBuilderExtensions.ForSqlServerUseSequenceHiLo 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.
Aşırı Yüklemeler
ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String) |
Geçersiz.
anahtar özelliğini, SQL Server hedeflerken yeni varlıklar için değerler oluşturmak üzere sıra tabanlı bir hi-lo deseni kullanacak şekilde yapılandırır. Bu yöntem özelliğini olarak OnAddayarlar. |
ForSqlServerUseSequenceHiLo<TProperty>(PropertyBuilder<TProperty>, String, String) |
Geçersiz.
anahtar özelliğini, SQL Server hedeflerken yeni varlıklar için değerler oluşturmak üzere sıra tabanlı bir hi-lo deseni kullanacak şekilde yapılandırır. Bu yöntem özelliğini olarak OnAddayarlar. |
ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String)
Dikkat
Use UseHiLo
anahtar özelliğini, SQL Server hedeflerken yeni varlıklar için değerler oluşturmak üzere sıra tabanlı bir hi-lo deseni kullanacak şekilde yapılandırır. Bu yöntem özelliğini olarak OnAddayarlar.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqlServerUseSequenceHiLo (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, string name = default, string schema = default);
[System.Obsolete("Use UseHiLo")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqlServerUseSequenceHiLo (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, string name = default, string schema = default);
static member ForSqlServerUseSequenceHiLo : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
[<System.Obsolete("Use UseHiLo")>]
static member ForSqlServerUseSequenceHiLo : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
<Extension()>
Public Function ForSqlServerUseSequenceHiLo (propertyBuilder As PropertyBuilder, Optional name As String = Nothing, Optional schema As String = Nothing) As PropertyBuilder
Parametreler
- propertyBuilder
- PropertyBuilder
Yapılandırılan özelliğin oluşturucusu.
- name
- String
Sıranın adı.
- schema
- String
Sıranın şeması.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
- Öznitelikler
Şunlara uygulanır
ForSqlServerUseSequenceHiLo<TProperty>(PropertyBuilder<TProperty>, String, String)
Dikkat
Use UseHiLo
anahtar özelliğini, SQL Server hedeflerken yeni varlıklar için değerler oluşturmak üzere sıra tabanlı bir hi-lo deseni kullanacak şekilde yapılandırır. Bu yöntem özelliğini olarak OnAddayarlar.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqlServerUseSequenceHiLo<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, string name = default, string schema = default);
[System.Obsolete("Use UseHiLo")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqlServerUseSequenceHiLo<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, string name = default, string schema = default);
static member ForSqlServerUseSequenceHiLo : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
[<System.Obsolete("Use UseHiLo")>]
static member ForSqlServerUseSequenceHiLo : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
<Extension()>
Public Function ForSqlServerUseSequenceHiLo(Of TProperty) (propertyBuilder As PropertyBuilder(Of TProperty), Optional name As String = Nothing, Optional schema As String = Nothing) As PropertyBuilder(Of TProperty)
Tür Parametreleri
- TProperty
Yapılandırılan özelliğin türü.
Parametreler
- propertyBuilder
- PropertyBuilder<TProperty>
Yapılandırılan özelliğin oluşturucusu.
- name
- String
Sıranın adı.
- schema
- String
Sıranın şeması.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
- Öznitelikler
Şunlara uygulanır
Entity Framework
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin