C# Class Microsoft.EntityFrameworkCore.Metadata.SimpleModelFactory

Creates instances of IMutableModel that have no conventions. This is useful when Exhaustively configuring a model based on some existing metadata.

This is typically not used in application code since building a model by overriding DbContext.OnModelCreating(ModelBuilder) or using ModelBuilder directly is much easier.

Afficher le fichier Open project: lodejard/AllNetCore

Méthodes publiques

Méthode Description
Create ( ) : IMutableModel

Creates an empty model with no conventions. All aspects of the model must be exhaustively configured.

Method Details

Create() public méthode

Creates an empty model with no conventions. All aspects of the model must be exhaustively configured.
public Create ( ) : IMutableModel
Résultat IMutableModel