Load and Include missing RRS feed

  • Question

  • User-659466770 posted


    I'm developing a dataaccess library using EFcore 1.1 and I'm missing Load and Include() (and ThenInclude()), any idea why?

    I've loaded all necessary nuget packages (I think)

    best regards


    Thursday, December 1, 2016 11:09 AM

All replies

  • User-1838255255 posted

    Hi patahel

    According to your description, as far as I know, include() method is in System.Data.Entity. So I suggest you try to add reference using System.Data.Entity . Here is the details of this DLL:

    System.Data.Entity Namespace


    If the above method cannot solve your problem, please try add these:

    using Microsoft.EntityFrameworkCore;
    using System.Linq;

    Best Regards,

    Eric Du

    Friday, December 2, 2016 5:56 AM