Beispiel #1
0
        private CountryDto ReadCountryPermission(IDataReader reader, ref bool alreadyRead)
        {
            CountryDto retval = new CountryDto();
            retval.Country = GetString(reader, 0);
            retval.CountryName = GetString(reader, 1);

            alreadyRead = reader.Read();
            return retval;
        }
Beispiel #2
0
        private CountryDto ReadCountryDto(IDataReader reader, ref bool alreadyRead)
        {
            CountryDto retval = new CountryDto();
            retval.CountryName = GetString(reader, 0);
            retval.Country = GetString(reader, 1);
            retval.WebpageInRegion = GetString(reader, 2);

            alreadyRead = reader.Read();
            return retval;
        }