Aracılığıyla paylaş


SqlServerPropertyBuilderExtensions.ForSqlServerUseSequenceHiLo Yöntem

Tanım

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