TestModelSource TestModelSource Class

Definition

public class TestModelSource : ModelSource, IModelSource
Public Class TestModelSource
    Inherits ModelSource
    Implements IModelSource
Inheritance
System.ObjectSystem.Object
TestModelSourceTestModelSource
Implements

Constructors

TestModelSource(Action, IDbSetFinder, ICoreConventionSetBuilder, IModelCustomizer, IModelCacheKeyFactory) TestModelSource(Action(Of ModelBuilder), IDbSetFinder, ICoreConventionSetBuilder, IModelCustomizer, IModelCacheKeyFactory)

public TestModelSource(Action<ModelBuilder> onModelCreating, IDbSetFinder setFinder, ICoreConventionSetBuilder coreConventionSetBuilder, IModelCustomizer modelCustomizer, IModelCacheKeyFactory modelCacheKeyFactory)
Public Sub New(onModelCreating As Action(Of ModelBuilder), setFinder As IDbSetFinder, coreConventionSetBuilder As ICoreConventionSetBuilder, modelCustomizer As IModelCustomizer, modelCacheKeyFactory As IModelCacheKeyFactory)
Parameters
onModelCreating
System.Action<ModelBuilder> System.Action(Of ModelBuilder)

Methods

CreateConventionSet(IConventionSetBuilder) CreateConventionSet(IConventionSetBuilder)

Inherited from ModelSource

CreateModel(DbContext, IConventionSetBuilder, IModelValidator) CreateModel(DbContext, IConventionSetBuilder, IModelValidator)

protected override IModel CreateModel(DbContext context, IConventionSetBuilder conventionSetBuilder, IModelValidator validator)
Protected Overrides Function CreateModel(context As DbContext, conventionSetBuilder As IConventionSetBuilder, validator As IModelValidator) As IModel
Parameters
Returns
Overrides

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

FindSets(ModelBuilder, DbContext) FindSets(ModelBuilder, DbContext)

Inherited from ModelSource

GetHashCode() GetHashCode()

Inherited from System.Object

GetModel(DbContext, IConventionSetBuilder, IModelValidator) GetModel(DbContext, IConventionSetBuilder, IModelValidator)

Inherited from ModelSource

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

Properties

CoreConventionSetBuilder CoreConventionSetBuilder

Inherited from ModelSource

ModelCacheKeyFactory ModelCacheKeyFactory

Inherited from ModelSource

ModelCustomizer ModelCustomizer

Inherited from ModelSource

SetFinder SetFinder

Inherited from ModelSource