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; }
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; }