Exemplo n.º 1
0
 /// <summary>
 /// Create a new TillTransactionDepartment object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="transactionID">Initial value of the TransactionID property.</param>
 /// <param name="departmentID">Initial value of the DepartmentID property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 public static TillTransactionDepartment CreateTillTransactionDepartment(global::System.Guid id, global::System.Guid transactionID, global::System.Guid departmentID, global::System.Decimal value, global::System.Double quantity)
 {
     TillTransactionDepartment tillTransactionDepartment = new TillTransactionDepartment();
     tillTransactionDepartment.ID = id;
     tillTransactionDepartment.TransactionID = transactionID;
     tillTransactionDepartment.DepartmentID = departmentID;
     tillTransactionDepartment.Value = value;
     tillTransactionDepartment.Quantity = quantity;
     return tillTransactionDepartment;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TillTransactionDepartments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTillTransactionDepartments(TillTransactionDepartment tillTransactionDepartment)
 {
     base.AddObject("TillTransactionDepartments", tillTransactionDepartment);
 }