Dela via


ContextContainerConvention Class

Definition

A convention that configures the default container name as the context type name.

public class ContextContainerConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
type ContextContainerConvention = class
    interface IModelInitializedConvention
    interface IConvention
Public Class ContextContainerConvention
Implements IModelInitializedConvention
Inheritance
ContextContainerConvention
Implements

Remarks

See Model building conventions, and Accessing Azure Cosmos DB with EF Core for more information and examples.

Applies to