Compartir a través de


RelationalModelExtensions.SetDefaultSchema Método

Definición

Sobrecargas

SetDefaultSchema(IMutableModel, String)

Establece el esquema predeterminado.

SetDefaultSchema(IConventionModel, String, Boolean)

Establece el esquema predeterminado.

SetDefaultSchema(IMutableModel, String)

Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs

Establece el esquema predeterminado.

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)

Parámetros

model
IMutableModel

Modelo para el que se va a establecer el esquema predeterminado.

value
String

Valor que se va a establecer.

Se aplica a

SetDefaultSchema(IConventionModel, String, Boolean)

Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs

Establece el esquema predeterminado.

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

Parámetros

model
IConventionModel

Modelo para el que se va a establecer el esquema predeterminado.

value
String

Valor que se va a establecer.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

Esquema configurado.

Se aplica a