Beispiel #1
0
 private void PopulateProperties(IDataReader dr, Race race)
 {
     race.RaceID = dr.GetInt32("RaceID");
     race.Name = dr.GetString("Name");
     race.Guid = dr.GetGuid("Guid");
 }
Beispiel #2
0
 private Race InflateRace(IDataReader dr)
 {
     var race = new Race();
     this.PopulateProperties(dr, race);
     return race;
 }