locked
Load and Include missing RRS feed

  • Question

  • User-659466770 posted

    Hi

    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

    michael

    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

    https://msdn.microsoft.com/en-us/library/system.data.entity(v=vs.113).aspx 

    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