/// <summary> /// Create a new ItemSale object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="saleDate">Initial value of the SaleDate property.</param> /// <param name="saleNo">Initial value of the SaleNo property.</param> public static ItemSale CreateItemSale(global::System.Int32 id, global::System.String type, global::System.Int32 quantity, global::System.DateTime saleDate, global::System.String saleNo) { ItemSale itemSale = new ItemSale(); itemSale.Id = id; itemSale.Type = type; itemSale.Quantity = quantity; itemSale.SaleDate = saleDate; itemSale.SaleNo = saleNo; return itemSale; }
/// <summary> /// Deprecated Method for adding a new object to the ItemSales EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemSales(ItemSale itemSale) { base.AddObject("ItemSales", itemSale); }