public Shopping(ISimpleDb db, long id, DateTime created, DateTime finished)
 {
     this.db       = db;
     Id            = id;
     Created       = created;
     this.finished = finished;
 }
示例#2
0
 public Repository(IScheduler uiThreadScheduler, ISimpleDb simpleDb, IRestApi restApi, IEntityFactory entityFactory, IValueFactory valueFactory)
 {
     this.uiThreadScheduler = uiThreadScheduler;
     this.simpleDb          = simpleDb;
     this.restApi           = restApi;
     this.entityFactory     = entityFactory;
     this.valueFactory      = valueFactory;
 }
示例#3
0
 public ShoppingItem(ISimpleDb db, long id, long shoppingId, int quantity, float discount, bool favorite)
 {
     this.db         = db;
     this.id         = id;
     this.shoppingId = shoppingId;
     this.quantity   = quantity;
     this.discount   = discount;
     this.favorite   = favorite;
 }
示例#4
0
 public ShoppingItem(ISimpleDb db) : this(db, 0, 0, 0, 0, false)
 {
 }
示例#5
0
 public FavoriteProductCommandRepository(IScheduler uiThreadScheduler, ISimpleDb simpleDb, IEntityFactory entityFactory) : base(uiThreadScheduler, simpleDb, entityFactory)
 {
 }
 public Favorite(ISimpleDb db, long id, bool favorite)
 {
     this.db       = db;
     Id            = id;
     this.favorite = favorite;
 }
 public Favorite(ISimpleDb db) : this(db, 0, false)
 {
 }
 public Shopping(ISimpleDb db) : this(db, 0, DateTime.Now, DateTime.MinValue)
 {
 }
 public ShoppingRepository(IScheduler uiThreadScheduler, ISimpleDb simpleDb, IRestApi restApi, IEntityFactory entityFactory) : base(uiThreadScheduler, simpleDb, restApi, entityFactory)
 {
 }
示例#10
0
 public Repository(IScheduler uiThreadScheduler, ISimpleDb simpleDb, IRestApi restApi, IEntityFactory entityFactory) : this(uiThreadScheduler, simpleDb, restApi, entityFactory, null)
 {
 }
示例#11
0
 public ProductQueryRepository(IScheduler uiThreadScheduler, ISimpleDb simpleDb, IRestApi restApi, IEntityFactory entityFactory, IValueFactory valueFactory) : base(uiThreadScheduler, simpleDb, restApi, entityFactory, valueFactory)
 {
 }