Example #1
0
 //Sets up default database and table. For more information look at portal.azure.com
 public SaleRecord(int quantitySold, ProdRecord product, string id, double price, string date) : base("pcdb", "SALES")
 {
     _quantitySold = quantitySold;
     _product      = product;
     _id           = id;
     _price        = price;
     _date         = date;
 }
Example #2
0
        //----------------------Constructors--------------------

        public SaleRecord(string database, string tableName, int quantitySold, ProdRecord product, string id, double price, string date) : base(database, tableName)
        {
        }