Udostępnij za pośrednictwem


SqlServerPropertyExtensions.SetSequenceSchema Metoda

Definicja

Przeciążenia

SetSequenceSchema(IMutableProperty, String)

Ustawia schemat do użycia dla sekwencji generowania wartości klucza.

SetSequenceSchema(IConventionProperty, String, Boolean)

Ustawia schemat do użycia dla sekwencji generowania wartości klucza.

SetSequenceSchema(IMutableProperty, String)

Ustawia schemat do użycia dla sekwencji generowania wartości klucza.

public static void SetSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string? schema);
static member SetSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> unit
<Extension()>
Public Sub SetSequenceSchema (property As IMutableProperty, schema As String)

Parametry

property
IMutableProperty

Właściwość.

schema
String

Schemat do użycia.

Dotyczy

SetSequenceSchema(IConventionProperty, String, Boolean)

Ustawia schemat do użycia dla sekwencji generowania wartości klucza.

public static string? SetSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? schema, bool fromDataAnnotation = false);
static member SetSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
<Extension()>
Public Function SetSequenceSchema (property As IConventionProperty, schema As String, Optional fromDataAnnotation As Boolean = false) As String

Parametry

property
IConventionProperty

Właściwość.

schema
String

Schemat do użycia.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

Skonfigurowana wartość.

Dotyczy