protected virtual void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }
public StateRepository(ApolloContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public CustomApplicationRepository(ApolloContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public ApolloProfileService(UserManager <ApolloUser> userManager, ApolloContext context) { _context = context; _userManager = userManager; }
public UserRepository(ApolloContext context, UserManager <ApolloUser> userManager) { _context = context ?? throw new ArgumentNullException(nameof(context)); _userManager = userManager ?? throw new ArgumentNullException(nameof(userManager));; }
public UserAppRoleMappingRepository(ApolloContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public CustomSocietyUserRepository(ApolloContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }