NonNullableConventionBase Class
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 base type for conventions that configure model aspects based on whether the member type is a non-nullable reference type.
public abstract class NonNullableConventionBase : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public abstract class NonNullableConventionBase : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type NonNullableConventionBase = class
interface IModelFinalizedConvention
interface IConvention
type NonNullableConventionBase = class
interface IModelFinalizingConvention
interface IConvention
Public MustInherit Class NonNullableConventionBase
Implements IModelFinalizedConvention
Public MustInherit Class NonNullableConventionBase
Implements IModelFinalizingConvention
- Inheritance
-
NonNullableConventionBase
- Derived
- Implements
See Model building conventions for more information and examples.
Non |
Creates a new instance of NonNullableConventionBase. |
Dependencies |
Dependencies for this service. |
Is |
Returns a value indicating whether the member type is a non-nullable reference type. |
Process |
Called after a model is finalized. Removes the cached state annotation used by this convention. |
Process |
Called when a model is being finalized. |
Try |
Returns a value indicating whether the member type is a non-nullable reference type. |
Proizvod | Verzije |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Povratne informacije o proizvodu Entity Framework
Entity Framework je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: