Geeks With Blogs
Fórmulas e Cenas Object Reference Not Set to an Instance of an Object

Simple and direct:

myContainer.myEntity.Where("it.myField LIKE '%' + @searchTerm + '%'", new ObjectParameter("searchTerm", myQueryText));

Posted on Wednesday, April 18, 2012 8:52 AM Geral , C# | Back to top


Comments on this post: How to: Use like '%text%moretext%' using LinqToEntities

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Sglima | Powered by: GeeksWithBlogs.net