You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual:
The setup use EDM model,
when we use IQueryable, the db call will be done synchronously and return EDM model
when we use IAsyncEnumerable, the db call will be done async and return simple model..
Expected:
when we use IAsyncEnumerable, the db call will be done async and should return EDM model..
//This return EDM model
[HttpGet("odata/students")]
[EnableQuery]
public IQueryable<Model.Student> OData()
{
return _context.Students;
}
//This NOT return EDM model
[HttpGet("odata/students")]
[EnableQuery]
public IAsyncEnumerable<Model.Student> OData()
{
return _context.Students.AsAsyncEnumerable();
}
The text was updated successfully, but these errors were encountered:
Actual:
The setup use EDM model,
when we use IQueryable, the db call will be done synchronously and return EDM model
when we use IAsyncEnumerable, the db call will be done async and return simple model..
Expected:
when we use IAsyncEnumerable, the db call will be done async and should return EDM model..
The text was updated successfully, but these errors were encountered: