protected BaseSharedDatabaseFixtureWithNotifications(IModelUpdateNotificationSender notificationSender, string dbName) : base(new NotificationsEnabledDb(new DbContextOptionsBuilder <ApplicationDbContext>() .UseInMemoryDatabase(dbName).EnableSensitiveDataLogging() .Options, notificationSender)) { NotificationsEnabledDatabase = (NotificationsEnabledDb)Database; }
public NotificationsEnabledDb(DbContextOptions <ApplicationDbContext> options, IModelUpdateNotificationSender notificationSender) : base(options) { AutoSendNotifications = notificationSender; }
public EditableInMemoryDatabaseFixtureWithNotifications(IModelUpdateNotificationSender notificationSender, string uniqueName) : base(notificationSender, uniqueName) { }