SimpleModelFactory SimpleModelFactory Class


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


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

The newly created model.

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object