airpaulg / relax-net

Automatically exported from code.google.com/p/relax-net
GNU General Public License v3.0
0 stars 0 forks source link

Should be able to do a string Contains search #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Should be able to create a contains query:

{{{
var r = new Repository<Product>(s);
var z = r.Where(x => x.Name).Contains("Xbox")
         .And(x => x.Price).Le(400)
         .List();
}}}

Original issue reported on code.google.com by jor...@gmail.com on 5 Dec 2009 at 9:24

GoogleCodeExporter commented 9 years ago
I think ".Like()" is what you need. Correct me if i'm wrong.

Original comment by wizzard0@gmail.com on 11 Jan 2012 at 10:08