R
Robson Felix
Hi guys,
I plan to start using LINQ to SQL real soon and would like to know if some
of you have had faced the following situations:
a) multiple data contexts (for example, multiple SQL servers or multiple
databases within the same
server)
- can i perform JOINs using these objects and perhaps a 3rd one, like a
class or entity? Including LEFT and INNER type of joins?
- aggregation?
- updates?
b) when using multiple data contexts, can I have a unique transaction
without using DTC? For instance, if I have a data context that is on server
A, database A1 and data context on server A, database B1, does it imply that
having different data connections, although in the same server, will
escalate it to DTC? How is it done? TransactionScope? DbTransaction?
Any thoughts are welcome.
Robson
I plan to start using LINQ to SQL real soon and would like to know if some
of you have had faced the following situations:
a) multiple data contexts (for example, multiple SQL servers or multiple
databases within the same
server)
- can i perform JOINs using these objects and perhaps a 3rd one, like a
class or entity? Including LEFT and INNER type of joins?
- aggregation?
- updates?
b) when using multiple data contexts, can I have a unique transaction
without using DTC? For instance, if I have a data context that is on server
A, database A1 and data context on server A, database B1, does it imply that
having different data connections, although in the same server, will
escalate it to DTC? How is it done? TransactionScope? DbTransaction?
Any thoughts are welcome.
Robson