I'm using Entity Framework 6.1 and am getting the above subject line error. The design time compile error is on the second line starting with the await.
How come I cannot await the SqlQuery? If I remove the await, the clause is fine.
I have the below code snippets:
public async Task<IEnumerable<HH_FuelTkt_Output>> GetFilteredFuelTicketsAsync(HH_FuelTkt_Input value)
var fto = await DbContext.HH_FuelTkt.SqlQuery("SELECT * from HH");
fto? (that's where you'd be applying the async mechanics)