RelationalEntityTypeExtensions.SetIsTableExcludedFromMigrations Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ü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.
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.
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.
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.
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:
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für