mgernand/LiteDB.Queryable

"Include" throws NotSupportedException

Int32Overflow opened this issue · 1 comments

Example code:

LiteDatabaseAsync database = new LiteDatabaseAsync("test.db");
ILiteCollectionAsync<Person> collection = database.GetCollection<Person>("people");
IQueryable<Person> queryable = collection.AsQueryable();
var result = queryable.Include(i => i.ChildItems).ToListAsync()

The following error message is thrown:
System.NotSupportedException: 'The LINQ extension method 'Include' is not supported.'

grafik

Hi! Thanks for your contribution. 🙂