/// <summary> /// Constructs the context with default options /// </summary> /// <param name="optionsGenerator">The options generator</param> public ReportrDbContext ( IDbContextOptionsGenerator optionsGenerator ) : this(optionsGenerator.Generate()) { }
/// <summary> /// Constructs the service with required dependencies /// </summary> /// <param name="optionsGenerator">The context options generator</param> public DefaultReportrDbMigrator ( IDbContextOptionsGenerator optionsGenerator ) { Validate.IsNotNull(optionsGenerator); _optionsGenerator = optionsGenerator; }