Beispiel #1
0
        public static PurchaseRow MakeFake(GDID gdid)
        {
            var purch = new PurchaseRow()
            {
                ID          = gdid,
                Customer    = PersonRow.MakeFake(gdid),
                Date        = DateTime.Now,
                Amount      = new Amount("usd", gdid.ID % 1897),
                SalesPerson = (gdid.ID % 2) == 0 ? null : PersonRow.MakeFake(gdid),
                G_Product   = new GDID(0, gdid.ID + 157)
            };

            return(purch);
        }
Beispiel #2
0
        public static PurchaseRow MakeFake(GDID gdid)
        {
            var purch = new PurchaseRow()
              {
            ID = gdid,
            Customer = PersonRow.MakeFake(gdid),
            Date = DateTime.Now,
            Amount = new Amount("usd", gdid.ID % 1897),
            SalesPerson = (gdid.ID % 2) == 0 ? null : PersonRow.MakeFake(gdid),
            G_Product = new GDID(0, gdid.ID + 157)
              };

              return purch;
        }