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