Esempio n. 1
0
 public static tblDescription DescriptionConvertDTOToTbl(DescriptionDTO objDescriptionDTO)
 {
     try
     {
         tblDescription tblDescription = new tblDescription();
         tblDescription.ID = objDescriptionDTO.ID;
         tblDescription.tblLanguageDescriptions = LanguageDescriptionConvert.LanguageDescriptionConvertDTOToTable(objDescriptionDTO.LanguageDescriptions);
         return(tblDescription);
     }
     catch
     {
         throw;
     }
 }
Esempio n. 2
0
        public static tblDescription DescriptionConvertDTOToTbl(ICollection <LanguageValueDTO> listLanguageValueDTO)
        {
            try
            {
                tblDescription objtblDescription = new tblDescription();

                ICollection <tblLanguageDescription> objtblLanguageDescription = objtblDescription.tblLanguageDescriptions;
                LanguageDescriptionConvert.LanguageDescriptionConvertDTOToTable(listLanguageValueDTO, ref objtblLanguageDescription);
                return(objtblDescription);
            }
            catch
            {
                throw;
            }
        }
Esempio n. 3
0
        public static void DescriptionConvertDTOToTbl(ICollection <LanguageValueDTO> listLanguageValueDTO, ref tblDescription objtblDescription)
        {
            try
            {
                if (objtblDescription == null)
                {
                    objtblDescription = new tblDescription();
                }

                ICollection <tblLanguageDescription> objtblLanguageDescription = objtblDescription.tblLanguageDescriptions;
                LanguageDescriptionConvert.LanguageDescriptionConvertDTOToTable(listLanguageValueDTO, ref objtblLanguageDescription);
            }
            catch
            {
                throw;
            }
        }