forked from rowanmiller/EntityFramework.Testing
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Include is not working when used as an Expression.
Here the example code to reproduce the problem:
`public T Get(Expression<Func<T, bool>> predicate, params Expression<Func<T, object>>[] includes)
{
IQueryable query = _set;
query = query.Where(predicate);
if (includes != null && includes.Length > 0)
foreach (var include in includes)
query = query.Include(include);
return query.FirstOrDefault();
}`
Metadata
Metadata
Assignees
Labels
No labels