26 lines
708 B
C#
26 lines
708 B
C#
namespace Persistence.Services;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
internal interface IArchiveService
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="connectionString"></param>
|
|
/// <param name="databaseName"></param>
|
|
/// <param name="token"></param>
|
|
/// <returns></returns>
|
|
Task RenameDatabase(string connectionString, string databaseName, CancellationToken token);
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="connectionString"></param>
|
|
/// <param name="databaseName"></param>
|
|
/// <param name="token"></param>
|
|
/// <returns></returns>
|
|
Task CreateDatabase(string connectionString, string databaseName, CancellationToken token);
|
|
}
|