D
damiensawyer
Hi,
Can someone please tell me if ado.net datatables are efficient for
searching? I am thinking of a model whereby at intial startup, I
populate 'all' of the data for the application into a multi table
dataset (say 5-10 tables each holding between 1000 and 100000 rows).
During execution, objects are instatiated from data in those datatables
as needed and then disposed of by a 'clean up' thread if they've been
inactive for a given duration.
For this to work, I would need to be able to very quickly seek to the
appropriate records in the datatable. Are they indexed? Can I use
multiple indexes? How about composite indexes? Are they fast? Is there
a better way?
One possible answer might be to create objects and put them in a hash
table... however, the creation of business objects is exactly what I'm
trying to get around.
Thanks very much in advance,
Damien Sawyer
Can someone please tell me if ado.net datatables are efficient for
searching? I am thinking of a model whereby at intial startup, I
populate 'all' of the data for the application into a multi table
dataset (say 5-10 tables each holding between 1000 and 100000 rows).
During execution, objects are instatiated from data in those datatables
as needed and then disposed of by a 'clean up' thread if they've been
inactive for a given duration.
For this to work, I would need to be able to very quickly seek to the
appropriate records in the datatable. Are they indexed? Can I use
multiple indexes? How about composite indexes? Are they fast? Is there
a better way?
One possible answer might be to create objects and put them in a hash
table... however, the creation of business objects is exactly what I'm
trying to get around.
Thanks very much in advance,
Damien Sawyer