I am using EntLib for my C# application.
Im my Data Access Layer, I made like that :
Database dtBase = DatbaseFactory.CreateDatabase();
using (DbCommand com = dtBase.GetSqlStringCommand("select * from customer"))
using (IDataReader = dtBase.ExecuteReader(com))
But, is it faster using dtBase.ExecuteDataSet() ?
Which is the fastest between ExecuteReader and ExecuteDataSet ?
Thank you !