MSDN Archive Home
Help and FAQs
Persistence Ignorance (POCO) Adapter for Entity Framework
All Resource Updates
Create New Discussion
Injecting some ELINQ or doing a wildcard search
Jun 11 2009 at 6:46 PM
I just stumbled over a problem with EF and the PA. I can't do any "column LIKE '%this%near%that%'" type searches.
I thought of checking out this ELINQ stuff I briefly laid my eyes on. I think I could've given .Where() a string expression with the like operator, but there's another hurdle..
The wrapped ObjectQuery is far gone, since I use an IQueryable that's already been transformed to a DTO representation.
Any ideas how I can get a like expression in there? All I've got now is CHARINDEX translations of String.Contains, and I dread that in the long run..
Sign in to post message or set email notifications
Manage Your Profile
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.