コード例 #1
0
        public static tblHomePage_Widget Convert(HomePage_WidgetDTO homepage_widget_dto)
        {
            tblHomePage_Widget tbl_homepage_widget = new tblHomePage_Widget();
            try
            {
                tbl_homepage_widget = Mapper.Map<HomePage_WidgetDTO, tblHomePage_Widget>(homepage_widget_dto, tbl_homepage_widget);
            }
            catch (Exception ex)
            {

            }
            return tbl_homepage_widget;
        }
コード例 #2
0
        public static HomePage_WidgetDTO Convert(Dashboard_Widget_DTO dashboard_widget_dto)
        {
            HomePage_WidgetDTO homepage_widget_dto = new HomePage_WidgetDTO();
            try
            {
                homepage_widget_dto = Mapper.Map<Dashboard_Widget_DTO, HomePage_WidgetDTO>(dashboard_widget_dto, homepage_widget_dto);
            }
            catch (Exception ex)
            {

            }
            return homepage_widget_dto;
        }
コード例 #3
0
        public static HomePage_WidgetDTO Convert(tblHomePage_Widget tbl_homepage_widget)
        {
            HomePage_WidgetDTO homepage_widget_dto = new HomePage_WidgetDTO();
            try
            {
                homepage_widget_dto = Mapper.Map<tblHomePage_Widget, HomePage_WidgetDTO>(tbl_homepage_widget, homepage_widget_dto);
            }
            catch(Exception ex)
            {

            }
            return homepage_widget_dto;
        }