TestInMemoryModelSource TestInMemoryModelSource Class

Syntax

Declaration

public class TestInMemoryModelSource : InMemoryModelSource, IModelSourcePublic Class TestInMemoryModelSource
    Inherits InMemoryModelSource
    Implements IModelSource

Inheritance Hierarchy

Inherited Members

SetFinder,
SetFinder,
CoreConventionSetBuilder,
CoreConventionSetBuilder,
ModelCustomizer,
ModelCustomizer,
ModelCacheKeyFactory,
ModelCacheKeyFactory,
CreateModel(DbContext, IConventionSetBuilder, IModelValidator),
CreateModel(DbContext, IConventionSetBuilder, IModelValidator),
CreateConventionSet(IConventionSetBuilder),
CreateConventionSet(IConventionSetBuilder),
FindSets(ModelBuilder, DbContext),
FindSets(ModelBuilder, DbContext),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Methods summary

Constructors

  • TestInMemoryModelSource(Action<ModelBuilder>, IDbSetFinder, ICoreConventionSetBuilder)
    TestInMemoryModelSource(Action(Of ModelBuilder), IDbSetFinder, ICoreConventionSetBuilder)
    public TestInMemoryModelSource(Action<ModelBuilder> onModelCreating, IDbSetFinder setFinder, ICoreConventionSetBuilder coreConventionSetBuilder)Public Sub New(onModelCreating As Action(Of ModelBuilder), setFinder As IDbSetFinder, coreConventionSetBuilder As ICoreConventionSetBuilder)

    Parameters

Methods

  • GetFactory(Action<ModelBuilder>)
    GetFactory(Action(Of ModelBuilder))
    public static Func<IServiceProvider, InMemoryModelSource> GetFactory(Action<ModelBuilder> onModelCreating)Public Shared Function GetFactory(onModelCreating As Action(Of ModelBuilder)) As Func(Of IServiceProvider, InMemoryModelSource)

    Parameters

    Returns

  • 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

Details

Assembly

Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.dll