Answer the question
In order to leave comments, you need to log in
How to properly organize a database search?
The database has several tables. I would like to organize a search in all tables. I think to do it in the following way
var t = from n in Product
Where n.Productname. Contains(textbox.text) || and so on ..
Is this the right train of thought?
And I would also like to clarify one point, how do you then display the results in the datagrid?
Answer the question
In order to leave comments, you need to log in
stackoverflow.com/questions/7938507/ef-code-first-...
But I like extension methods better IQueryable query = table.Query().Where( x => x.Name == 'query');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question