/// <summary> /// Create a new TillTransactionDetail object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="transactionID">Initial value of the TransactionID property.</param> /// <param name="saleID">Initial value of the SaleID property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="priceLevel">Initial value of the PriceLevel property.</param> public static TillTransactionDetail CreateTillTransactionDetail(global::System.Guid id, global::System.Guid transactionID, global::System.String saleID, global::System.Double quantity, global::System.Int32 priceLevel) { TillTransactionDetail tillTransactionDetail = new TillTransactionDetail(); tillTransactionDetail.ID = id; tillTransactionDetail.TransactionID = transactionID; tillTransactionDetail.SaleID = saleID; tillTransactionDetail.Quantity = quantity; tillTransactionDetail.PriceLevel = priceLevel; return tillTransactionDetail; }
/// <summary> /// Deprecated Method for adding a new object to the TillTransactionDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTillTransactionDetails(TillTransactionDetail tillTransactionDetail) { base.AddObject("TillTransactionDetails", tillTransactionDetail); }