Strongly Typed DataSets

Strongly Typed DataSets

Post by Yazid Arezk » Sun, 24 Nov 2002 06:22:42



Hello

Anybody knows what are the pros and cons of strongly typed datasets?

TIA

Yaz

 
 
 

Strongly Typed DataSets

Post by Nick Holme » Sun, 24 Nov 2002 06:54:37


Pros:

They're strongly typed (== a good thing!)
Better performance that access like ds.Table["MyTable"].Rows[0]["MyColumn"]
Easier to handle complex relationships.

Cons:

Hard work to build manually.
Automatically generatated ones create a fair amount of code (not a big
problem).
Worse performance that accessing like ds.Table[0].Rows[0][4]

On balance, a worthwhile choice.

Nick Holmes.


Quote:> Hello

> Anybody knows what are the pros and cons of strongly typed datasets?

> TIA

> Yaz