LINQ Question

LINQ Question

Postby Zero-G. » Mon 10 Nov 2008 10:10

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
Zero-G.
 
Posts: 390
Joined: Sat 09 Dec 2006 12:20

Postby Shalex » Mon 10 Nov 2008 12:20

Please specify, what are you using: LINQ to Entities or LINQ to SQL?
Shalex
Devart Team
 
Posts: 7460
Joined: Thu 14 Aug 2008 12:44

Postby Zero-G. » Mon 10 Nov 2008 12:24

Hey

I use LINQ to Entities

THX
Zero-G.
 
Posts: 390
Joined: Sat 09 Dec 2006 12:20

Postby Shalex » Tue 11 Nov 2008 13:43

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 ).
Shalex
Devart Team
 
Posts: 7460
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for MySQL