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

Notification

Icon
Error

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

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.
epf  
#2 Posted : Tuesday, June 6, 2023 6:50:52 AM(UTC)
epf

Rank: Administration

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

Thanks: 14 times
Was thanked: 205 time(s) in 198 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.