RelationalEntityTypeExtensions.SetIsTableExcludedFromMigrations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetIsTableExcludedFromMigrations(IMutableEntityType, Nullable<Boolean>) |
Sets a value indicating whether the associated table is ignored by Migrations. |
SetIsTableExcludedFromMigrations(IConventionEntityType, Nullable<Boolean>, Boolean) |
Sets a value indicating whether the associated table is ignored by Migrations. |
SetIsTableExcludedFromMigrations(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier) |
Sets a value indicating whether the associated table is ignored by Migrations. |
SetIsTableExcludedFromMigrations(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean) |
Sets a value indicating whether the associated table is ignored by Migrations. |
SetIsTableExcludedFromMigrations(IMutableEntityType, Nullable<Boolean>)
Sets a value indicating whether the associated table is ignored by Migrations.
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))
Parameters
- entityType
- IMutableEntityType
The entity type.
A value indicating whether the associated table is ignored by Migrations.
Applies to
SetIsTableExcludedFromMigrations(IConventionEntityType, Nullable<Boolean>, Boolean)
Sets a value indicating whether the associated table is ignored by Migrations.
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)
Parameters
- entityType
- IConventionEntityType
The entity type.
A value indicating whether the associated table is ignored by Migrations.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.
Applies to
SetIsTableExcludedFromMigrations(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier)
Sets a value indicating whether the associated table is ignored by Migrations.
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)
Parameters
- entityType
- IMutableEntityType
The entity type.
A value indicating whether the associated table is ignored by Migrations.
- storeObject
- StoreObjectIdentifier
The identifier of the table-like store object.
Applies to
SetIsTableExcludedFromMigrations(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean)
Sets a value indicating whether the associated table is ignored by Migrations.
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)
Parameters
- entityType
- IConventionEntityType
The entity type.
A value indicating whether the associated table is ignored by Migrations.
- storeObject
- StoreObjectIdentifier
The identifier of the table-like store object.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.