/// <summary> /// Constructor. /// </summary> public MongoDbUnitOfWork( IAbpMongoDbModuleConfiguration configuration, IConnectionStringResolver connectionStringResolver, IUnitOfWorkFilterExecuter filterExecuter, IUnitOfWorkDefaultOptions defaultOptions) : base( connectionStringResolver, defaultOptions, filterExecuter) { _configuration = configuration; }
/// <summary> /// Constructor. /// </summary> public MongoDbUnitOfWork( IAbpMongoDbModuleConfiguration configuration, IConnectionStringResolver connectionStringResolver, IUnitOfWorkFilterExecuter filterExecuter, IUnitOfWorkDefaultOptions defaultOptions) : base( connectionStringResolver, defaultOptions, filterExecuter) { _configuration = configuration; }
/// <summary> /// Constructor. /// </summary> public MongoDbUnitOfWork( IAbpMongoDbModuleConfiguration configuration, IConnectionStringResolver connectionStringResolver, IUnitOfWorkFilterExecuter filterExecuter, IUnitOfWorkDefaultOptions defaultOptions) : base( connectionStringResolver, defaultOptions, filterExecuter) { _configuration = configuration; Database = new MongoClient(_configuration.ConnectionString) .GetDatabase(_configuration.DatabaseName); }
/// <summary> /// Constructor. /// </summary> public MongoDbUnitOfWork(IAbpMongoDbModuleConfiguration configuration, IUnitOfWorkDefaultOptions defaultOptions) : base(defaultOptions) { _configuration = configuration; }
public MongoDbUnitOfWork(IAbpMongoDbModuleConfiguration configuration) { _configuration = configuration; }
/// <summary> /// Constructor. /// </summary> public MongoDbUnitOfWork(IAbpMongoDbModuleConfiguration configuration, IUnitOfWorkDefaultOptions defaultOptions) : base(defaultOptions) { _configuration = configuration; }
public MongoDbUnitOfWork(IAbpMongoDbModuleConfiguration configuration) { _configuration = configuration; }