views:

194

answers:

1

Which data-access model has the best performance and speed for a C# Winforms application?

  • Dataset?
  • NHibernate?
  • Entity Framework?

Why would people say not to use Datasets ?

+2  A: 

It really doesn't matter. The true cost is in I/O, getting the query to the dbase engine and getting the results back. And getting them painted to the screen in the case of WinForms. Whacking the bits into an object model is a fraction of a percent of the overall cost.

Hans Passant