Click here to Skip to main content
15,793,368 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
(from e in MdmsContext.ExtractDefinition
                                        where e.TenantId == Context.TenantId
                                        select new

What I have tried:

Please explain the result as well.
Updated 26-Aug-21 20:58pm

1 solution

SELECT ExtractName 
   FROM ExtractDefinition
   WHERE TenantId == @TI

The explanation is obvious to anyone who has done any SQL at all!
Share this answer
Richard Deeming 27-Aug-21 4:22am    
WHERE TenantId == @TI

Except SQL doesn't use two = signs for equality tests. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900