Delen via


ModelCleanupConvention Class

Definition

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

Remarks

See Model building conventions for more information and examples.

Applies to