/// <summary> /// Deprecated Method for adding a new object to the Sales EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSales(Sale sale) { base.AddObject("Sales", sale); }
/// <summary> /// Create a new Sale object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static Sale CreateSale(global::System.Int32 id) { Sale sale = new Sale(); sale.ID = id; return sale; }