Exemplo n.º 1
0
        public static IEnumerable <VIEW_FW_GEO_TREE> ToListViewModel(IEnumerable <FW_GEO_TREE> list)
        {
            var listModel = new List <VIEW_FW_GEO_TREE>();

            foreach (FW_GEO_TREE item in list)
            {
                listModel.Add(VIEW_FW_GEO_TREE.ToViewModel(item));
            }
            return(listModel);
        }
Exemplo n.º 2
0
        public static VIEW_FW_GEO_TREE ToViewModel(FW_GEO_TREE model)
        {
            VIEW_FW_GEO_TREE item = new VIEW_FW_GEO_TREE();

            item.TREE_ID   = model.TREE_ID;
            item.TREE_DESC = model.TREE_DESC;
            item.STATUS    = model.STATUS;
            item.CREATE_DT = model.CREATE_DT;
            item.CREATE_BY = model.CREATE_BY;
            item.MODIFY_DT = model.MODIFY_DT;
            item.MODIFY_BY = model.MODIFY_BY;
            return(item);
        }
Exemplo n.º 3
0
        public static FW_GEO_TREE ToEntity(VIEW_FW_GEO_TREE model)
        {
            FW_GEO_TREE item = new FW_GEO_TREE();

            item.TREE_ID   = model.TREE_ID;
            item.TREE_DESC = model.TREE_DESC;
            item.STATUS    = model.STATUS;
            item.CREATE_DT = model.CREATE_DT;
            item.CREATE_BY = model.CREATE_BY;
            item.MODIFY_DT = model.MODIFY_DT;
            item.MODIFY_BY = model.MODIFY_BY;
            return(item);
        }