"Include" throws NotSupportedException
Int32Overflow opened this issue · 1 comments
Int32Overflow commented
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.'
mgernand commented
Hi! Thanks for your contribution. 🙂