public TransactionForDB2()
     : base()
 {
     this.CollectionOfS = new List<StockInDb2>();
     this.stLastId = 0d;
     this.sLastId = 0d;
     this.st = new StockInTransactionDb2();
     this.s = new StockInDb2();
     q = new QuickReportDb();
     this.activeItemId = 0d;
 }
 public void addToCollectionOfS(StockInDb2 s)
 {
     this.CollectionOfS.Add(s);
 }