Share via


OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity>.ExcludeFromMigrations Méthode

Définition

Configure la table à ignorer par les migrations.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity> ExcludeFromMigrations (bool excluded = true);
override this.ExcludeFromMigrations : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function ExcludeFromMigrations (Optional excluded As Boolean = true) As OwnedNavigationSplitTableBuilder(Of TOwnerEntity, TDependentEntity)

Paramètres

excluded
Boolean

Valeur indiquant si la table doit être gérée par des migrations.

Retours

Le même générateur instance afin que plusieurs appels puissent être chaînés.

Remarques

Pour plus d’informations, consultez Migrations de bases de données.

S’applique à