RelationalEntityTypeExtensions.SetIsTableExcludedFromMigrations Methode

Definition

Überlädt

SetIsTableExcludedFromMigrations(IMutableEntityType, Nullable<Boolean>)

Legt einen Wert fest, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

SetIsTableExcludedFromMigrations(IConventionEntityType, Nullable<Boolean>, Boolean)

Legt einen Wert fest, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

SetIsTableExcludedFromMigrations(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier)

Legt einen Wert fest, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

SetIsTableExcludedFromMigrations(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean)

Legt einen Wert fest, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

SetIsTableExcludedFromMigrations(IMutableEntityType, Nullable<Boolean>)

Legt einen Wert fest, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

public static void SetIsTableExcludedFromMigrations (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, bool? excluded);
static member SetIsTableExcludedFromMigrations : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Nullable<bool> -> unit
<Extension()>
Public Sub SetIsTableExcludedFromMigrations (entityType As IMutableEntityType, excluded As Nullable(Of Boolean))

Parameter

entityType
IMutableEntityType

Der Entitätstyp.

excluded
Nullable<Boolean>

Ein Wert, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

Gilt für:

SetIsTableExcludedFromMigrations(IConventionEntityType, Nullable<Boolean>, Boolean)

Legt einen Wert fest, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

public static bool? SetIsTableExcludedFromMigrations (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, bool? excluded, bool fromDataAnnotation = false);
static member SetIsTableExcludedFromMigrations : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Function SetIsTableExcludedFromMigrations (entityType As IConventionEntityType, excluded As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

Parameter

entityType
IConventionEntityType

Der Entitätstyp.

excluded
Nullable<Boolean>

Ein Wert, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

fromDataAnnotation
Boolean

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

Gibt zurück

Der konfigurierte Wert.

Gilt für:

SetIsTableExcludedFromMigrations(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier)

Legt einen Wert fest, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

public static void SetIsTableExcludedFromMigrations (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, bool? excluded, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member SetIsTableExcludedFromMigrations : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Nullable<bool> * StoreObjectIdentifier -> unit
<Extension()>
Public Sub SetIsTableExcludedFromMigrations (entityType As IMutableEntityType, excluded As Nullable(Of Boolean), ByRef storeObject As StoreObjectIdentifier)

Parameter

entityType
IMutableEntityType

Der Entitätstyp.

excluded
Nullable<Boolean>

Ein Wert, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

storeObject
StoreObjectIdentifier

Der Bezeichner des tabellenähnlichen Speicherobjekts.

Gilt für:

SetIsTableExcludedFromMigrations(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean)

Legt einen Wert fest, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

public static bool? SetIsTableExcludedFromMigrations (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, bool? excluded, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member SetIsTableExcludedFromMigrations : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Nullable<bool> * StoreObjectIdentifier * bool -> Nullable<bool>
<Extension()>
Public Function SetIsTableExcludedFromMigrations (entityType As IConventionEntityType, excluded As Nullable(Of Boolean), ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

Parameter

entityType
IConventionEntityType

Der Entitätstyp.

excluded
Nullable<Boolean>

Ein Wert, der angibt, ob die zugeordnete Tabelle von Migrationen ignoriert wird.

storeObject
StoreObjectIdentifier

Der Bezeichner des tabellenähnlichen Speicherobjekts.

fromDataAnnotation
Boolean

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

Gibt zurück

Der konfigurierte Wert.

Gilt für: