does EF7 rc1 support lazy load? i use Repository Pattern and Entity Framework7 rc1
To Include multiple entities, i add an "include" extension: but can notCompile Successfully,what should to do ?
public static class IncludeExtension { public static IQueryable<TEntity> Include<TEntity>(this IDbSet<TEntity> dbSet, params Expression<Func<TEntity, object>>[] includes) where TEntity : class { IQueryable<TEntity> query = null; foreach (var include in includes) { query = dbSet.Include(include); } return query == null ? dbSet : query; } }