RelationalForeignKeyExtensions.IsExcludedFromMigrations Method
Definition
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.
Returns a value indicating whether the foreign key constraint is excluded from migrations.
public static bool IsExcludedFromMigrations(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
static member IsExcludedFromMigrations : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> bool
<Extension()>
Public Function IsExcludedFromMigrations (foreignKey As IReadOnlyForeignKey) As Boolean
Parameters
- foreignKey
- IReadOnlyForeignKey
The foreign key.
Returns
true if the foreign key constraint is excluded from migrations.