RelationalEntityTypeExtensions.SetViewSchema Methode

Definition

Überlädt

SetViewSchema(IMutableEntityType, String)

Legt das Datenbankschema fest, das die zugeordnete Ansicht enthält.

SetViewSchema(IConventionEntityType, String, Boolean)

Legt das Datenbankschema fest, das die zugeordnete Ansicht enthält.

SetViewSchema(IMutableEntityType, String)

Legt das Datenbankschema fest, das die zugeordnete Ansicht enthält.

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

Parameter

entityType
IMutableEntityType

Der Entitätstyp, für den das Ansichtsschema festgelegt werden soll.

value
String

Der festzulegende Wert.

Gilt für:

SetViewSchema(IConventionEntityType, String, Boolean)

Legt das Datenbankschema fest, das die zugeordnete Ansicht enthält.

public static string SetViewSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string value, bool fromDataAnnotation = false);
public static string? SetViewSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string? value, bool fromDataAnnotation = false);
static member SetViewSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * string * bool -> string
<Extension()>
Public Function SetViewSchema (entityType As IConventionEntityType, value As String, Optional fromDataAnnotation As Boolean = false) As String

Parameter

entityType
IConventionEntityType

Der Entitätstyp, für den das Ansichtsschema festgelegt werden soll.

value
String

Der festzulegende Wert.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Das konfigurierte Schema.

Gilt für: