Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CustomerComissions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomerComissions(CustomerComission customerComission)
 {
     base.AddObject("CustomerComissions", customerComission);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new CustomerComission object.
 /// </summary>
 /// <param name="comissionID">Initial value of the ComissionID property.</param>
 /// <param name="membershipID">Initial value of the MembershipID property.</param>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="isComissionPaid">Initial value of the IsComissionPaid property.</param>
 public static CustomerComission CreateCustomerComission(global::System.Int32 comissionID, global::System.String membershipID, global::System.String orderID, global::System.Decimal amount, global::System.Boolean isComissionPaid)
 {
     CustomerComission customerComission = new CustomerComission();
     customerComission.ComissionID = comissionID;
     customerComission.MembershipID = membershipID;
     customerComission.OrderID = orderID;
     customerComission.Amount = amount;
     customerComission.IsComissionPaid = isComissionPaid;
     return customerComission;
 }