/// <summary> /// Create a new CustomerGroupItemType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="iDCustomerGroup">Initial value of the IDCustomerGroup property.</param> /// <param name="iDItemType">Initial value of the IDItemType property.</param> /// <param name="warehouseAllocation">Initial value of the WarehouseAllocation property.</param> /// <param name="includeInSAPOrders">Initial value of the IncludeInSAPOrders property.</param> public static CustomerGroupItemType CreateCustomerGroupItemType(global::System.Guid id, global::System.Guid iDCustomerGroup, global::System.Guid iDItemType, global::System.Boolean warehouseAllocation, global::System.Boolean includeInSAPOrders) { CustomerGroupItemType customerGroupItemType = new CustomerGroupItemType(); customerGroupItemType.ID = id; customerGroupItemType.IDCustomerGroup = iDCustomerGroup; customerGroupItemType.IDItemType = iDItemType; customerGroupItemType.WarehouseAllocation = warehouseAllocation; customerGroupItemType.IncludeInSAPOrders = includeInSAPOrders; return customerGroupItemType; }
/// <summary> /// Deprecated Method for adding a new object to the CustomerGroupItemType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomerGroupItemType(CustomerGroupItemType customerGroupItemType) { base.AddObject("CustomerGroupItemType", customerGroupItemType); }