public FollowingRepository(MBlogContext context) : base(context)
 {
     _context = context;
     if (_context.ChangeTracker != null)
     {
         _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     }
 }
 public UserRepository(MBlogContext context)
 {
     _context = context;
 }
Exemple #3
0
 public BaseRepository(MBlogContext context)
 {
     _context = context;
 }