Home

How I can cross using the entitties from different context dll together

hi,
I have add different connections in Linqpad. for example, accountingContext, companyContext.
How I can cross using the entitties from different context dll together.

it always shows some entity "does not exist in the current context"

my version of Linqpad is paid premium version of Lingpad.

Comments

  • You can reference multiple LinqPad emitted DataContexts on the same server by holding Ctrl when dragging it onto the query.

    In your case, with the DbContexts coming from external assemblies, you'll just have to add a reference and new them up yourself in code!
Sign In or Register to comment.