Język

OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity>.ExcludeFromMigrations Metoda

Definicja

Konfiguruje tabelę do ignorowania przez migracje.

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)

Parametry

excluded
Boolean

Wartość wskazująca, czy tabela powinna być zarządzana przez migracje.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji, zobacz Migracje baz danych .

Dotyczy