Bradley Thomas
Bradley Thomas

Reputation: 4097

Join across databases using Subsonic 3.0

I'm using .NET 4.0, SQL Server, looking to do an inner join across two databases on the same server. Subsonic doesn't seem to like this. Any ideas?

Upvotes: 0

Views: 93

Answers (2)

karlis
karlis

Reputation: 920

if you have your sql-statement execute it via the CodingHorror-Class

eg.:

            CodingHorror cr = new CodingHorror(sqlIDetails);
            result = cr.ExecuteTypedList<QueueLog>();

Upvotes: 1

Egor4eg
Egor4eg

Reputation: 2708

You can write a stored procedure and join tables in it

Upvotes: 3

Related Questions