Beispiel #1
0
 private StateLocalDto ReadStateLocalForCountriesElement(IDataReader reader, ref bool alreadyRead)
 {
     StateLocalDto retval = new StateLocalDto();
     retval.CountryFromDD = reader.GetString(0);
     retval.CountryFK = GetString(reader, 1);
     retval.LanguageFK = GetString(reader, 2);
     retval.LocalName = GetString(reader, 3);
     alreadyRead = reader.Read();
     return retval;
 }
Beispiel #2
0
 private StateLocalDto ReadStateLocalElement(IDataReader reader, ref bool alreadyRead)
 {
     StateLocalDto retval = new StateLocalDto();
     retval.StateFK = GetInt32(reader, 0).ToString();
     retval.LocalName = reader.GetString(1);
     alreadyRead = reader.Read();
     return retval;
 }