You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <remarks>The <see cref="DatabaseArgs"/> is intended, and expected, to be immutable. Therefore, when implementing/extending, please ensure additional properties are enabled as such to ensure there are
/// not any unintended side-effects.</remarks>
public abstract record class DatabaseArgs : DatabaseArgsBase
{
/// <summary>
/// Gets or sets the <see cref="DbTransaction"/> <see cref="System.Data.IsolationLevel"/>.
/// </summary>
/// <remarks>Defaults to <see cref="IsolationLevel.ReadCommitted"/>.
/// <para>Specifies the isolation level when an <see cref="IUnitOfWork"/> creates a root transaction. Nested invocations use save-points and inherit the existing transaction's isolation level;
/// this setting does not change or validate the parent's isolation level.</para></remarks>
public IsolationLevel IsolationLevel { get; init; } = IsolationLevel.ReadCommitted;