RelationalForeignKeyExtensions.GetIsExcludedFromMigrationsConfigurationSource 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.
Gets the ConfigurationSource for the foreign key exclusion from migrations.
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetIsExcludedFromMigrationsConfigurationSource(this Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey);
static member GetIsExcludedFromMigrationsConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetIsExcludedFromMigrationsConfigurationSource (foreignKey As IConventionForeignKey) As Nullable(Of ConfigurationSource)
Parameters
- foreignKey
- IConventionForeignKey
The foreign key.
Returns
The ConfigurationSource for the foreign key exclusion from migrations.