TestSqlServerModelSource TestSqlServerModelSource Class

Definition

public class TestSqlServerModelSource : SqlServerModelSource, IModelSource
Public Class TestSqlServerModelSource
    Inherits SqlServerModelSource
    Implements IModelSource
Inheritance
System.ObjectSystem.Object
TestSqlServerModelSourceTestSqlServerModelSource
Implements

Constructors

TestSqlServerModelSource(Action, IDbSetFinder, ICoreConventionSetBuilder) TestSqlServerModelSource(Action(Of ModelBuilder), IDbSetFinder, ICoreConventionSetBuilder)

public TestSqlServerModelSource(Action<ModelBuilder> onModelCreating, IDbSetFinder setFinder, ICoreConventionSetBuilder coreConventionSetBuilder)
Public Sub New(onModelCreating As Action(Of ModelBuilder), setFinder As IDbSetFinder, coreConventionSetBuilder As ICoreConventionSetBuilder)
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)

Inherited from ModelSource

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 RelationalModelSource

GetFactory(Action) GetFactory(Action(Of ModelBuilder))

public static Func<IServiceProvider, SqlServerModelSource> GetFactory(Action<ModelBuilder> onModelCreating)
Public Shared Function GetFactory(onModelCreating As Action(Of ModelBuilder)) As Func(Of IServiceProvider, SqlServerModelSource)
Parameters
onModelCreating
System.Action<ModelBuilder> System.Action(Of ModelBuilder)
Returns
System.Func<System.IServiceProvider, SqlServerModelSource> System.Func(Of System.IServiceProvider, SqlServerModelSource)

GetHashCode() GetHashCode()

Inherited from System.Object

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

public override IModel GetModel(DbContext context, IConventionSetBuilder conventionSetBuilder, IModelValidator validator)
Public Overrides Function GetModel(context As DbContext, conventionSetBuilder As IConventionSetBuilder, validator As IModelValidator) As IModel
Parameters
Returns
Overrides

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