示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CustomerGroup EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomerGroup(CustomerGroup customerGroup)
 {
     base.AddObject("CustomerGroup", customerGroup);
 }
示例#2
0
 /// <summary>
 /// Create a new CustomerGroup object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="iDSalesArea">Initial value of the IDSalesArea property.</param>
 /// <param name="includeInSystem">Initial value of the IncludeInSystem property.</param>
 /// <param name="showRBMInReporting">Initial value of the ShowRBMInReporting property.</param>
 /// <param name="includeInSAPOrders">Initial value of the IncludeInSAPOrders property.</param>
 /// <param name="manual">Initial value of the Manual property.</param>
 public static CustomerGroup CreateCustomerGroup(global::System.Guid id, global::System.String name, global::System.String code, global::System.Guid iDSalesArea, global::System.Boolean includeInSystem, global::System.Boolean showRBMInReporting, global::System.Boolean includeInSAPOrders, global::System.Boolean manual)
 {
     CustomerGroup customerGroup = new CustomerGroup();
     customerGroup.ID = id;
     customerGroup.Name = name;
     customerGroup.Code = code;
     customerGroup.IDSalesArea = iDSalesArea;
     customerGroup.IncludeInSystem = includeInSystem;
     customerGroup.ShowRBMInReporting = showRBMInReporting;
     customerGroup.IncludeInSAPOrders = includeInSAPOrders;
     customerGroup.Manual = manual;
     return customerGroup;
 }