예제 #1
0
 /// <summary>
 /// Create a new TillTransactionProduct object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="transactionID">Initial value of the TransactionID property.</param>
 /// <param name="tillProductID">Initial value of the TillProductID property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="priceLevel">Initial value of the PriceLevel property.</param>
 public static TillTransactionProduct CreateTillTransactionProduct(global::System.Guid id, global::System.Guid transactionID, global::System.Guid tillProductID, global::System.Decimal value, global::System.Double quantity, global::System.Int32 priceLevel)
 {
     TillTransactionProduct tillTransactionProduct = new TillTransactionProduct();
     tillTransactionProduct.ID = id;
     tillTransactionProduct.TransactionID = transactionID;
     tillTransactionProduct.TillProductID = tillProductID;
     tillTransactionProduct.Value = value;
     tillTransactionProduct.Quantity = quantity;
     tillTransactionProduct.PriceLevel = priceLevel;
     return tillTransactionProduct;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TillTransactionProducts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTillTransactionProducts(TillTransactionProduct tillTransactionProduct)
 {
     base.AddObject("TillTransactionProducts", tillTransactionProduct);
 }