ModelCleanupConvention 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 convention that removes any state that is only used during model building.
public class ModelCleanupConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class ModelCleanupConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class ModelCleanupConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type ModelCleanupConvention = class
interface IModelFinalizedConvention
interface IConvention
type ModelCleanupConvention = class
interface IModelFinalizingConvention
interface IConvention
type ModelCleanupConvention = class
interface IForeignKeyRemovedConvention
interface IConvention
interface IModelFinalizingConvention
Public Class ModelCleanupConvention
Implements IModelFinalizedConvention
Public Class ModelCleanupConvention
Implements IModelFinalizingConvention
Public Class ModelCleanupConvention
Implements IForeignKeyRemovedConvention, IModelFinalizingConvention
- Inheritance
-
ModelCleanupConvention
- Implements
See Model building conventions for more information and examples.
Model |
Creates a new instance of ModelCleanupConvention. |
Dependencies |
Dependencies for this service. |
Process |
Called after a foreign key is removed. |
Process |
Called after a model is finalized. |
Process |
Called when a model is being finalized. |
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: