Exemplo n.º 1
0
        public static DbSettingsDTO Create(DbSettings settings)
        {
            if (settings == null)
            {
                return(null);
            }

            var settingsDTO = new DbSettingsDTO();

            settingsDTO.TestField = settings.TestField;

            return(settingsDTO);
        }
Exemplo n.º 2
0
 public static void Hydrate(DbSettings settings, DbSettingsDTO settingsDTO)
 {
     settings.TestField = settingsDTO.TestField;
     //settings.VarBinary = Convert.FromBase64String(settingsDTO.VarBinaryString);
 }