S
Steve B.
Hi,
I'm building an ASP.Net corportate web application.
One module of the application consists of a web service that manages users.
Due to the history of the organisation, there is several databases accross
the network and users data are unfortunatelly not stored in the same DB.
What I want to reach is to provides users informations (read only
informations) through the web service to hide the complexity of the data.
I've created a UsersDataTable (using the VS Designer) that have 8 columns.
Half of the columns are taken from the 1st DB (SQL Server) and the other
half columns are taken from the 2nd DB.
FYI, there is one nvarchar column in the two tables of the two sources that
identify uniquely the rows.
I want to keep the maximum of functionnalities of the VS designer and I'd
like (if possible) to avoid duplicating the data between the two sources.
I've thought about the linked server functionnalities between the two sql
server, but later, there's a probability that other platform will be
queried, in fact, I'd like a general neutral solution (pure ADO.Net).
What the best way to correctly handle the two sources ?
Thanks for your feedbacks.
Steve
I'm building an ASP.Net corportate web application.
One module of the application consists of a web service that manages users.
Due to the history of the organisation, there is several databases accross
the network and users data are unfortunatelly not stored in the same DB.
What I want to reach is to provides users informations (read only
informations) through the web service to hide the complexity of the data.
I've created a UsersDataTable (using the VS Designer) that have 8 columns.
Half of the columns are taken from the 1st DB (SQL Server) and the other
half columns are taken from the 2nd DB.
FYI, there is one nvarchar column in the two tables of the two sources that
identify uniquely the rows.
I want to keep the maximum of functionnalities of the VS designer and I'd
like (if possible) to avoid duplicating the data between the two sources.
I've thought about the linked server functionnalities between the two sql
server, but later, there's a probability that other platform will be
queried, in fact, I'd like a general neutral solution (pure ADO.Net).
What the best way to correctly handle the two sources ?
Thanks for your feedbacks.
Steve