TestModelSource TestModelSource Class

Syntax

Declaration

public class TestModelSource : ModelSource, IModelSourcePublic Class TestModelSource
    Inherits ModelSource
    Implements IModelSource

Inheritance Hierarchy

Inherited Members

SetFinder,
SetFinder,
CoreConventionSetBuilder,
CoreConventionSetBuilder,
ModelCustomizer,
ModelCustomizer,
ModelCacheKeyFactory,
ModelCacheKeyFactory,
GetModel(DbContext, IConventionSetBuilder, IModelValidator),
GetModel(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

  • TestModelSource(Action<ModelBuilder>, 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

Methods

  • 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

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll