Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.

Welcome Guest ! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Monday, June 5, 2023 8:55:58 PM(UTC)

Rank: Advanced Member

Groups: Registered
Joined: 5/18/2018(UTC)
Posts: 40

Thanks: 2 times
Is there an easy way to use LINQ for multiple SQL Server connections in order to allow cross database joins?

Thanks you.
#2 Posted : Tuesday, June 6, 2023 6:50:52 AM(UTC)

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
Yes LINQ can be used to perform joins over different Data Sources.
Check: https://sealreport.org/Sources#lineNoSQL and the samples under the folder Samples\02-LINQ

However if you have serveral SQLServer sources, I would recommend to use LinkedServer instead, so you may use only one connection.

Edited by user Tuesday, June 6, 2023 6:53:01 AM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.