/// <summary> /// Create a new TillTabTransaction object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="saleID">Initial value of the SaleID property.</param> /// <param name="clerkID">Initial value of the ClerkID property.</param> /// <param name="mode">Initial value of the Mode property.</param> /// <param name="consecNumber">Initial value of the ConsecNumber property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="saleDescriptor">Initial value of the SaleDescriptor property.</param> /// <param name="tillID">Initial value of the TillID property.</param> public static TillTabTransaction CreateTillTabTransaction(global::System.Guid id, global::System.DateTime date, global::System.String saleID, global::System.Guid clerkID, global::System.Int32 mode, global::System.Int32 consecNumber, global::System.Int32 status, global::System.String saleDescriptor, global::System.Guid tillID) { TillTabTransaction tillTabTransaction = new TillTabTransaction(); tillTabTransaction.ID = id; tillTabTransaction.Date = date; tillTabTransaction.SaleID = saleID; tillTabTransaction.ClerkID = clerkID; tillTabTransaction.Mode = mode; tillTabTransaction.ConsecNumber = consecNumber; tillTabTransaction.Status = status; tillTabTransaction.SaleDescriptor = saleDescriptor; tillTabTransaction.TillID = tillID; return tillTabTransaction; }
/// <summary> /// Deprecated Method for adding a new object to the TillTabTransactions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTillTabTransactions(TillTabTransaction tillTabTransaction) { base.AddObject("TillTabTransactions", tillTabTransaction); }