Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
- Posts: 50
- Joined: Wed 22 Jul 2009 09:30
Is there anyway to do a contains on list (effectively 'where xxx in (1,2,4,6)') with a LINQ query in the following form?
Code: Select all
var query = from table1 in entity.Table1
from table2 in documentHead.Table2
orderby table2.StampRevision descending
max = table1.Table2.Max(x => x.OIDTable2)
where TypeRestriction is a list of integers and there is a one to many relationship between table1 and table2.
- Devart Team
- Posts: 2919
- Joined: Mon 07 Jul 2008 13:16