I have a repository that has a method that calls the method ToListAsync of EF, however if I use the ToList, I get and warning that says that the async methods will run sync, but the application works fine.
So my doubt is how to use the async methods of EF with Sqlite.
The methods is this:
public async Task<List<MyType>> getRowsAsync(Params param)
{
return await miDBContext.MyType
.Include(x => x.MyType2.MyType3)
.ToListAsync();
}