DefaultConsoleHelperDropAndCreateDatabaseAsync - метод
Пространство имён: Tessa.Extensions.Default.ConsoleСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
public static Task DropAndCreateDatabaseAsync(
IConsoleLogger logger,
string? configurationString,
string? databaseName,
bool dropOld,
bool createNew,
CancellationToken cancellationToken = default
)
Public Shared Function DropAndCreateDatabaseAsync (
logger As IConsoleLogger,
configurationString As String,
databaseName As String,
dropOld As Boolean,
createNew As Boolean,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
static Task^ DropAndCreateDatabaseAsync(
IConsoleLogger^ logger,
String^ configurationString,
String^ databaseName,
bool dropOld,
bool createNew,
CancellationToken cancellationToken = CancellationToken()
)
static member DropAndCreateDatabaseAsync :
logger : IConsoleLogger *
configurationString : string *
databaseName : string *
dropOld : bool *
createNew : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- logger IConsoleLogger
-
- configurationString String
-
- databaseName String
-
- dropOld Boolean
-
- createNew Boolean
-
- cancellationToken CancellationToken (Optional)
-
Task