Class TestAppMongoDbContext
Inheritance
TestAppMongoDbContext
Assembly: Volo.Abp.MongoDB.Tests.dll
Syntax
[ConnectionStringName("TestApp")]
[ReplaceDbContext(new Type[] { typeof(IFourthDbContext) })]
public class TestAppMongoDbContext : AbpMongoDbContext, ITransientDependency, ITestAppMongoDbContext, IThirdDbContext, IFourthDbContext, IAbpMongoDbContext
Constructors
TestAppMongoDbContext()
Declaration
public TestAppMongoDbContext()
Properties
AppEntityWithNavigations
Declaration
public IMongoCollection<AppEntityWithNavigations> AppEntityWithNavigations { get; }
Property Value
Cities
Declaration
public IMongoCollection<City> Cities { get; }
Property Value
Type |
Description |
IMongoCollection<City> |
|
DummyEntities
Declaration
public IMongoCollection<ThirdDbContextDummyEntity> DummyEntities { get; }
Property Value
EntityWithIntPks
Declaration
public IMongoCollection<EntityWithIntPk> EntityWithIntPks { get; }
Property Value
FourthDummyEntities
Declaration
public IMongoCollection<FourthDbContextDummyEntity> FourthDummyEntities { get; }
Property Value
People
Declaration
[MongoCollection("Persons")]
public IMongoCollection<Person> People { get; }
Property Value
Type |
Description |
IMongoCollection<Person> |
|
Products
Declaration
public IMongoCollection<Product> Products { get; }
Property Value
Type |
Description |
IMongoCollection<Product> |
|
Methods
CreateModel(IMongoModelBuilder)
Declaration
protected override void CreateModel(IMongoModelBuilder modelBuilder)
Parameters
Overrides
Implements
Extension Methods