Reputation: 1074
Using EF7 beta 5 and can not call the include method like:
var blogs=context.Blogs.Include(x=>x.Posts).ToList();
Did I miss something or is it maybe not jet implemented.
Upvotes: 2
Views: 1714
Reputation: 141
Actually the answer is quite obvious :-) You need to add a using to the top of your source code file:
using Microsoft.Data.Entity
Upvotes: 4