I just started moving all my ado.net code from the asp.net pages to repo\'s and created dto\'s for each table (manually), but now I don\'t know what is a good efficient way to c
Usually the pattern looks something like:
List list = new List(); using(SqlDataReader rdr = GetReaderFromSomewhere()) { while(rdr.Read()) { Customer cust = new Customer(); cust.Id = (int)rdr["Id"]; list.Add(cust) } }