Exemplo n.º 1
0
 public InsertDataCommiter(MongoDbConnection entitiesProvider, IEntitiesForInsertingProvider <TEntity> usersProvider)
 {
     this.entitiesProvider = entitiesProvider ?? throw new ArgumentNullException($"{nameof(entitiesProvider)} should not be null");
     this.usersProvider    = usersProvider ?? throw new ArgumentNullException($"{nameof(usersProvider)} should not be null");
 }
 public InsertUserDataCommiter(IgniteAdapter igniteAdapter, IEntitiesForInsertingProvider <User> usersProvider)
 {
     this.igniteAdapter = igniteAdapter ?? throw new ArgumentNullException($"{nameof(igniteAdapter)} should not be null");
     this.usersProvider = usersProvider ?? throw new ArgumentNullException($"{nameof(usersProvider)} should not be null");
 }
 public InsertPromotionCommandBuilder(IEntitiesForInsertingProvider <Promotion> promotionsProvider)
 {
     this.promotionsProvider = promotionsProvider ?? throw new ArgumentNullException($"{nameof(promotionsProvider)} should not be null");
 }
Exemplo n.º 4
0
 public InsertPromotionDataCommiter(IgniteAdapter igniteAdapter, IEntitiesForInsertingProvider <Promotion> promotionsProvider)
 {
     this.igniteAdapter      = igniteAdapter ?? throw new ArgumentNullException($"{nameof(igniteAdapter)} should not be null");
     this.promotionsProvider = promotionsProvider ?? throw new ArgumentNullException($"{nameof(promotionsProvider)} should not be null");
 }
 public InsertUserCommandBuilder(IEntitiesForInsertingProvider <User> usersProvider)
 {
     this.usersProvider = usersProvider ?? throw new ArgumentNullException($"{nameof(usersProvider)} should not be null");
 }