Page 1 of 1

LINQ Question

Posted: Mon 10 Nov 2008 10:10
by Zero-G.
Hey

I try to use LINQ in my project. But there are a few points, which I don't know.

One of these points is: How to write this kind of statement in LINQ:

Select Decode(Passwort, 'Password') from Mitarbeiter

Hope, someone can help me.

THX

Posted: Mon 10 Nov 2008 12:20
by Shalex
Please specify, what are you using: LINQ to Entities or LINQ to SQL?

Posted: Mon 10 Nov 2008 12:24
by Zero-G.
Hey

I use LINQ to Entities

THX

Posted: Tue 11 Nov 2008 13:43
by Shalex
The questions on LINQ to Entities exceed the goals of our support because it is a Microsoft technology. We recommend to look through the appropriate topic in MSDN ( http://msdn.microsoft.com/en-us/library/bb386964.aspx ). If LINQ to Entities capabilities are not enough, you can try to obtain data by means of Entity SQL ( http://msdn.microsoft.com/en-us/library/bb399560.aspx ). It is also possible to resolve the issue by a server-specific SQL request through the Defining Query ( http://msdn.microsoft.com/en-us/library/cc982038.aspx ).