No FindAsync() method on IDbSet

前端 未结 5 452
长发绾君心
长发绾君心 2021-01-01 12:43

Is there a reason that the FindAsync() method is omitted from the IDbSet interface? Find is part of the interface, it seems o

5条回答
  •  甜味超标
    2021-01-01 13:00

    I believe the correct way these days (since EF 6) involves inheriting from DbSet instead of implementing IDbSet.

提交回复
热议问题