Click here to Skip to main content
15,071,480 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
                                        {
                                            e.ExtractName
                                        }).ToList()


What I have tried:

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

1 solution

SQL
SELECT ExtractName 
   FROM ExtractDefinition
   WHERE TenantId == @TI

The explanation is obvious to anyone who has done any SQL at all!
   
Comments
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