M
Miha Markic
Hi,
Normally, with one adapter per table.
No. Though command class has this power.
Yes.
You passed ;-)
Kalpesh Shah said:Hello All,
Could you guys help me understand the ado.net object model ?
This is what I think, correct me if I am wrong
* DatAdapater acts as a bridge to bring in/send out data to database
Yep.
* Dataset is in-memory cache, disconnected from db, doesnt talk to db directly
Yep.
* DataTable could be a part of dataset.
Yep.
could multiple table from a common datasource be a part of same dataset ?
Yep.
* How to add multiple tables to same dataset, using same datasource ?
Normally, with one adapter per table.
dataset having common source ?* A separate dataadapter is needed, for each SELECT/Stored proc, which will bring in data to dataset
Can a single dataadapter be used for multiple tables added to the same
No. Though command class has this power.
each SELECT querying diff tablesI am somehow confused & thinking that there has to be 1 dataadapater for
Yes.
You passed ;-)