/// <summary> /// Create a new TillTransaction 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="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 TillTransaction CreateTillTransaction(global::System.Guid id, global::System.DateTime date, global::System.String saleID, global::System.Guid clerkID, global::System.Int32 mode, global::System.Int32 status, global::System.String saleDescriptor, global::System.Guid tillID) { TillTransaction tillTransaction = new TillTransaction(); tillTransaction.ID = id; tillTransaction.Date = date; tillTransaction.SaleID = saleID; tillTransaction.ClerkID = clerkID; tillTransaction.Mode = mode; tillTransaction.Status = status; tillTransaction.SaleDescriptor = saleDescriptor; tillTransaction.TillID = tillID; return tillTransaction; }
/// <summary> /// Deprecated Method for adding a new object to the TillTransactions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTillTransactions(TillTransaction tillTransaction) { base.AddObject("TillTransactions", tillTransaction); }