using System; using System.Reflection; using Microsoft.Extensions.Logging; namespace Microsoft.EntityFrameworkCore { /// /// Options for the database migration. /// public class DatabaseMigrationOptions { /// /// Gets or sets a logger of the type . /// public ILogger Logger { get; set; } /// /// Gets or sets the migrations table name. /// public string MigrationsTableName { get; set; } = "__migrations"; /// /// Gets or sets the absolute path to the migration files. /// public string Path { get; set; } /// /// Gets or sets the source assembly for embedded files. /// public Assembly SourceAssembly { get; set; } /// /// Gets or sets a delay to wait before a connect retry. /// public TimeSpan WaitDelay { get; set; } = TimeSpan.FromSeconds(1); } }