public void AddToFunctionItems(FunctionItemDTO functionItemDTO) { base.AddObject("FunctionItems", functionItemDTO); }
public static FunctionItemDTO CreateFunctionItemDTO(int ID, bool isLeaf, int sort, bool isValid, bool isButton, bool isChecked) { FunctionItemDTO functionItemDTO = new FunctionItemDTO(); functionItemDTO.Id = ID; functionItemDTO.IsLeaf = isLeaf; functionItemDTO.Sort = sort; functionItemDTO.IsValid = isValid; functionItemDTO.IsButton = isButton; functionItemDTO.IsChecked = isChecked; return functionItemDTO; }