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.

Mostrar archivo Open project: lodejard/AllNetCore

Public Methods

Method Description
Create ( ) : IMutableModel

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

Method Details

Create() public method

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