Langue

OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>.ExcludeFromMigrations Méthode

Définition

Configure la table à ignorer par les migrations.

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

Paramètres

excluded
Boolean

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

Retours

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

Remarques

Pour plus d’informations, consultez migrations de base de données .

S’applique à