Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CustomerCategory EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomerCategory(CustomerCategory customerCategory)
 {
     base.AddObject("CustomerCategory", customerCategory);
 }
Пример #2
0
 /// <summary>
 /// Create a new CustomerCategory object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="iDCustomer">Initial value of the IDCustomer property.</param>
 /// <param name="iDCategory">Initial value of the IDCategory property.</param>
 public static CustomerCategory CreateCustomerCategory(global::System.Guid id, global::System.Guid iDCustomer, global::System.Guid iDCategory)
 {
     CustomerCategory customerCategory = new CustomerCategory();
     customerCategory.ID = id;
     customerCategory.IDCustomer = iDCustomer;
     customerCategory.IDCategory = iDCategory;
     return customerCategory;
 }