示例#1
0
        public Dictionary CastDB(DictionaryViewModel model)
        {
            Dictionary db = new Dictionary();

            Com.HSJF.Infrastructure.ExtendTools.ObjectExtend.CopyTo(model, db);
            return(db);
        }
示例#2
0
        public virtual DictionaryViewModel CastModel(Dictionary db)
        {
            DictionaryViewModel model = new DictionaryViewModel();

            Com.HSJF.Infrastructure.ExtendTools.ObjectExtend.CopyTo(db, model);
            return(model);
        }