Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. internal class BaseRepository<T> : IRepository<T> where T : BaseEntity
  2. {
  3. readonly TinRollContext context;
  4.  
  5. public BaseRepository(TinRollContext context)
  6. {
  7. this.context = context;
  8. }
  9.  
  10. public Task<T> CreateAsync(T entity)
  11. {
  12. throw new NotImplementedException();
  13. }
  14.  
  15. public Task<T> GetAsync(int id)
  16. {
  17. throw new NotImplementedException();
  18. }
  19.  
  20. public Task<IEnumerable<T>> GetAsync(
  21. Expression<Func<T, bool>> filter = null,
  22. Func<IQueryable<T>, IOrderedQueryable<T>> orderBy = null,
  23. string includeProperties = "")
  24. {
  25. throw new NotImplementedException();
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement