Ejemplo n.º 1
0
        public Dictionary CastDB(DictionaryViewModel model)
        {
            Dictionary db = new Dictionary();

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

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