OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity>.ExcludeFromMigrations Method
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.
Configures the table to be ignored by migrations.
C#
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)
- excluded
- Boolean
A value indicating whether the table should be managed by migrations.
The same builder instance so that multiple calls can be chained.
See Database migrations for more information.
Продукт | Версии |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.
Обратна връзка за Entity Framework
Entity Framework е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: