SimpleModelFactory SimpleModelFactory Class

Definition

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 OnModelCreating(ModelBuilder) or using ModelBuilder directly is much easier.

public class SimpleModelFactory
Public Class SimpleModelFactory
Inheritance
System.ObjectSystem.Object
SimpleModelFactorySimpleModelFactory

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

Create() Create()

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

public virtual IMutableModel Create()
Public Overridable Function Create As IMutableModel
Returns

The newly created model.