IConventionEntityTypeMappingFragment.SetIsTableExcludedFromMigrations Method

Definition

Sets a value indicating whether the associated table is ignored by Migrations.

public bool? SetIsTableExcludedFromMigrations (bool? excluded, bool fromDataAnnotation = false);
abstract member SetIsTableExcludedFromMigrations : Nullable<bool> * bool -> Nullable<bool>
Public Function SetIsTableExcludedFromMigrations (excluded As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

Parameters

excluded
Nullable<Boolean>

A value indicating whether the associated table is ignored by Migrations.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

Applies to