2023-05-28 14:40:10 +00:00
|
|
|
using JetBrains.Annotations;
|
|
|
|
|
|
2023-05-28 09:56:49 +00:00
|
|
|
namespace Elsa.EntityFrameworkCore.Common;
|
|
|
|
|
|
2023-05-28 14:40:10 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// Provides options for configuring Elsa's Entity Framework Core integration.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[PublicAPI]
|
2023-05-28 09:56:49 +00:00
|
|
|
public class ElsaDbContextOptions
|
|
|
|
|
{
|
2023-05-28 14:40:10 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// The schema used by Elsa.
|
|
|
|
|
/// </summary>
|
2023-05-28 09:56:49 +00:00
|
|
|
public string? SchemaName { get; set; }
|
2023-05-28 14:40:10 +00:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The table used to store the migrations history.
|
|
|
|
|
/// </summary>
|
2023-05-28 09:56:49 +00:00
|
|
|
public string? MigrationsHistoryTableName { get; set; }
|
2023-05-28 14:40:10 +00:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The assembly name containing the migrations.
|
|
|
|
|
/// </summary>
|
2023-05-28 09:56:49 +00:00
|
|
|
public string? MigrationsAssemblyName { get; set; }
|
|
|
|
|
}
|