NonNullableNavigationConvention Class
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.
A convention that configures the non-nullable navigations to principal entity type as required.
public class NonNullableNavigationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NonNullableConventionBase, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
public class NonNullableNavigationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NonNullableConventionBase, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyPrincipalEndChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
type NonNullableNavigationConvention = class
inherit NonNullableConventionBase
interface INavigationAddedConvention
interface IConvention
type NonNullableNavigationConvention = class
inherit NonNullableConventionBase
interface INavigationAddedConvention
interface IConvention
interface IForeignKeyPrincipalEndChangedConvention
Public Class NonNullableNavigationConvention
Inherits NonNullableConventionBase
Implements INavigationAddedConvention
Public Class NonNullableNavigationConvention
Inherits NonNullableConventionBase
Implements IForeignKeyPrincipalEndChangedConvention, INavigationAddedConvention
- Inheritance
- Implements
Remarks
See Model building conventions for more information and examples.
Constructors
NonNullableNavigationConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of NonNullableNavigationConvention. |
Properties
Dependencies |
Dependencies for this service. (Inherited from NonNullableConventionBase) |
Methods
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework