ContextContainerConvention 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 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.
Constructors
ContextContainerConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of ContextContainerConvention. |
Properties
Dependencies |
Dependencies for this service. |
Methods
ProcessModelInitialized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called after a model is initialized. |
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: