public ExposureNotificationStorage(ExposureNotificationContext context, IOptions <Settings> settings) { this.context = context; this.settings = settings.Value; this.context.Database.SetCommandTimeout(900); }
public ExposureNotificationStorage(ExposureNotificationContext context, IOptions <Settings> settings) { this.context = context; this.settings = settings.Value; if (!context.Database.IsInMemory() && this.settings.DbCommandTimeout > 0) { this.context.Database.SetCommandTimeout(this.settings.DbCommandTimeout); } }
public ExposureNotificationStorage(ExposureNotificationContext context, IOptions <Settings> settings) { this.context = context; this.settings = settings.Value; }