Sdílet prostřednictvím


RelationalEntityTypeExtensions.SetViewSchema Metoda

Definice

Přetížení

SetViewSchema(IMutableEntityType, String)

Nastaví schéma databáze, které obsahuje mapované zobrazení.

SetViewSchema(IConventionEntityType, String, Boolean)

Nastaví schéma databáze, které obsahuje mapované zobrazení.

SetViewSchema(IMutableEntityType, String)

Nastaví schéma databáze, které obsahuje mapované zobrazení.

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)

Parametry

entityType
IMutableEntityType

Typ entity, pro který chcete nastavit schéma zobrazení.

value
String

Hodnota k nastavení.

Platí pro

SetViewSchema(IConventionEntityType, String, Boolean)

Nastaví schéma databáze, které obsahuje mapované zobrazení.

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

Parametry

entityType
IConventionEntityType

Typ entity, pro který chcete nastavit schéma zobrazení.

value
String

Hodnota k nastavení.

fromDataAnnotation
Boolean

Určuje, zda byla konfigurace zadána pomocí datové poznámky.

Návraty

Nakonfigurované schéma.

Platí pro