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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework