public static ItemMaintainCtrlDTO CreateItemMaintainCtrlDTO(int ID, int ctrlStrategy, int itemId) { ItemMaintainCtrlDTO itemMaintainCtrlDTO = new ItemMaintainCtrlDTO(); itemMaintainCtrlDTO.Id = ID; itemMaintainCtrlDTO.CtrlStrategy = ctrlStrategy; itemMaintainCtrlDTO.ItemId = itemId; return itemMaintainCtrlDTO; }
public void AddToItemMaintainCtrls(ItemMaintainCtrlDTO itemMaintainCtrlDTO) { base.AddObject("ItemMaintainCtrls", itemMaintainCtrlDTO); }
public static ItemMaintainCtrlDTO CreateItemMaintainCtrlDTO(int ID, int ctrlStrategy, int itemId, global::System.Collections.ObjectModel.ObservableCollection<MaintainCtrlLineDTO> maintainCtrlLines) { ItemMaintainCtrlDTO itemMaintainCtrlDTO = new ItemMaintainCtrlDTO(); itemMaintainCtrlDTO.Id = ID; itemMaintainCtrlDTO.CtrlStrategy = ctrlStrategy; itemMaintainCtrlDTO.ItemId = itemId; if ((maintainCtrlLines == null)) { throw new global::System.ArgumentNullException("maintainCtrlLines"); } itemMaintainCtrlDTO.MaintainCtrlLines = maintainCtrlLines; return itemMaintainCtrlDTO; }