G
Guest
Hi there,
I have a question that has been raised on how an application should handle
the data that is travelling through a three-layered application.
Our data is going to be handled by Dataset object(s), and the data to be
handled is as follows:
We have N Companies with data, which is distributed among 1 table with all
the data that is similar on all Companies, and 1 table for each Company that
has specific data to store, so in case we want to query the db for some
company we would have to perform our query on those two tables, the main one,
and the specific of that company.
Suggestions has been made on:
1. Having 1 Dataset containing the main table and all of it's siblings
(knowing there will be N of them)
2. Having 1 Dataset containing the main table and 1 Dataset for EACH one of
the siblings,
Is it better to use a typed Dataset mirroring the SQL Server structure (All
tables and relations) or it might be better to send over the WebService 2
Datasets, one containing the non-specific fields and another containing the
specific data fields?
Looking for the best choice available, if there is another way to get this
data over the Webservice resulting in better performance it would be
appreciated.
Thanks in Advance, Iván
I have a question that has been raised on how an application should handle
the data that is travelling through a three-layered application.
Our data is going to be handled by Dataset object(s), and the data to be
handled is as follows:
We have N Companies with data, which is distributed among 1 table with all
the data that is similar on all Companies, and 1 table for each Company that
has specific data to store, so in case we want to query the db for some
company we would have to perform our query on those two tables, the main one,
and the specific of that company.
Suggestions has been made on:
1. Having 1 Dataset containing the main table and all of it's siblings
(knowing there will be N of them)
2. Having 1 Dataset containing the main table and 1 Dataset for EACH one of
the siblings,
Is it better to use a typed Dataset mirroring the SQL Server structure (All
tables and relations) or it might be better to send over the WebService 2
Datasets, one containing the non-specific fields and another containing the
specific data fields?
Looking for the best choice available, if there is another way to get this
data over the Webservice resulting in better performance it would be
appreciated.
Thanks in Advance, Iván