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>As the underlying <see cref="DbCommand"/> implements <see cref="IDisposable"/> this is only created (and automatically disposed) where executing the command proper.</remarks>
public abstract class DatabaseCommand<TDatabaseArgs, TSelf>(IDatabase db, SqlStatement statement) : DatabaseCommand(db, statement)
where TDatabaseArgs : DatabaseArgs
where TSelf : DatabaseCommand<TDatabaseArgs, TSelf>
{
/// <summary>
/// Gets the <typeparamref name="TDatabaseArgs"/> for the command.
/// </summary>
/// <remarks>Defaults to the underlying <see cref="IDatabase.DbArgs"/>.
/// <para>See also <see cref="WithDbArgs(TDatabaseArgs)"/>.</para></remarks>
public new TDatabaseArgs DbArgs { get; protected set; } = (TDatabaseArgs)db.DbArgs;
/// <summary>
/// Sets (overrides) the <see cref="DbArgs"/> for the command.