Entity Framework - contains a method

Someone has an answer for this missing feature in Entity Framework. Does anyone have a solution to the missing Contains method in Entity Framework that works? I've tried several of them here and via google, but none of them seem to work.

+2


source to share


2 answers


You can use EF 4.0 that he implemented there, also StartsWith, EndsWith and many more. ADO.NET Blog



+2


source


As said, Entity Framework 4.0 Beta 2 supports this method, but it requires you to download the beta version of Visual Studio 2010.

In Visual Studio 2008 SP1, you can use the manual construct of LINQ expressions as described here or Entity SQL as we already recommended here .



+1


source







All Articles