Beispiel #1
0
 /// <summary>
 /// Create a new TillTransactionGroup object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="transactionID">Initial value of the TransactionID property.</param>
 /// <param name="groupID">Initial value of the GroupID 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 TillTransactionGroup CreateTillTransactionGroup(global::System.Guid id, global::System.Guid transactionID, global::System.Guid groupID, global::System.Decimal value, global::System.Double quantity, global::System.Int32 priceLevel)
 {
     TillTransactionGroup tillTransactionGroup = new TillTransactionGroup();
     tillTransactionGroup.ID = id;
     tillTransactionGroup.TransactionID = transactionID;
     tillTransactionGroup.GroupID = groupID;
     tillTransactionGroup.Value = value;
     tillTransactionGroup.Quantity = quantity;
     tillTransactionGroup.PriceLevel = priceLevel;
     return tillTransactionGroup;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TillTransactionGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTillTransactionGroups(TillTransactionGroup tillTransactionGroup)
 {
     base.AddObject("TillTransactionGroups", tillTransactionGroup);
 }