public MyAssemblyLocator(IOptions <DbMigrationOptions> option) { _option = option.Value; _entryAssembly = Assembly.GetEntryAssembly(); _dependencyContext = DependencyContext.Load(_entryAssembly); }
public MySqlDbTool(IOptions <DbMigrationOptions> option) { _options = option.Value; }
public IndexModel(IAssemblyLocator locator, IOptions <DbMigrationOptions> option, IDbTool dbTool) { _locator = locator; _options = option.Value; _dbTool = dbTool; }
public static void UseMySql(this DbMigrationOptions self, string connection) { self.ConnectionString = connection; }