RelationalModelExtensions.SetDefaultSchema Metodo

Definizione

Overload

SetDefaultSchema(IMutableModel, String)

Imposta lo schema predefinito.

SetDefaultSchema(IConventionModel, String, Boolean)

Imposta lo schema predefinito.

SetDefaultSchema(IMutableModel, String)

Imposta lo schema predefinito.

public static void SetDefaultSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string value);
public static void SetDefaultSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string? value);
static member SetDefaultSchema : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> unit
<Extension()>
Public Sub SetDefaultSchema (model As IMutableModel, value As String)

Parametri

model
IMutableModel

Modello per cui impostare lo schema predefinito.

value
String

Il valore da impostare.

Si applica a

SetDefaultSchema(IConventionModel, String, Boolean)

Imposta lo schema predefinito.

public static void SetDefaultSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string value, bool fromDataAnnotation = false);
public static string SetDefaultSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string value, bool fromDataAnnotation = false);
public static string? SetDefaultSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string? value, bool fromDataAnnotation = false);
static member SetDefaultSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * bool -> unit
static member SetDefaultSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * bool -> string
<Extension()>
Public Sub SetDefaultSchema (model As IConventionModel, value As String, Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetDefaultSchema (model As IConventionModel, value As String, Optional fromDataAnnotation As Boolean = false) As String

Parametri

model
IConventionModel

Modello per cui impostare lo schema predefinito.

value
String

Il valore da impostare.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata utilizzando un'annotazione dati.

Restituisce

Schema configurato.

Si applica a