You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
436 B
20 lines
436 B
using Volo.Abp.MongoDB;
|
|
|
|
namespace App2.Data;
|
|
|
|
public class App2DbContext : AbpMongoDbContext
|
|
{
|
|
/* Add mongo collections here. Example:
|
|
* public IMongoCollection<Question> Questions => Collection<Question>();
|
|
*/
|
|
|
|
protected override void CreateModel(IMongoModelBuilder builder)
|
|
{
|
|
base.CreateModel(builder);
|
|
|
|
//builder.Entity<YourEntity>(b =>
|
|
//{
|
|
// //...
|
|
//});
|
|
}
|
|
}
|
|
|