vb.net - LinqToSql: ExecuteQuery an ExecuteQuery-result? -
i use code customers database...
dim customerresult = db.executequery(of view_customers)("select * topl_customers").tolist
now have customers fetched database, want run "filter" query against customerresult - how do that?
was hoping this...
dim filterresult = customerresult.executequery(of view_customers)("select * active=1").tolist
any suggestions? don't want query database twice.
i need use string search query because it's dynamic.
thanks
try this:
var filteredresult = in customerresult //add suitable filter condition based on column values a.active == 1 select a;
Comments
Post a Comment