elsa-core/src/modules/Elsa.EntityFrameworkCore.Common/ElsaDbContextOptions.cs

26 lines
655 B
C#
Raw Normal View History

2023-05-28 14:40:10 +00:00
using JetBrains.Annotations;
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]
public class ElsaDbContextOptions
{
2023-05-28 14:40:10 +00:00
/// <summary>
/// The schema used by Elsa.
/// </summary>
public string? SchemaName { get; set; }
2023-05-28 14:40:10 +00:00
/// <summary>
/// The table used to store the migrations history.
/// </summary>
public string? MigrationsHistoryTableName { get; set; }
2023-05-28 14:40:10 +00:00
/// <summary>
/// The assembly name containing the migrations.
/// </summary>
public string? MigrationsAssemblyName { get; set; }
}