DefaultConsoleHelperDropAndCreateDatabaseAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Console
Сборка:
Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: Tessa.Platform.ConsoleAppsIConsoleLogger
- configurationString
- Тип: SystemString
- databaseName
- Тип: SystemString
- dropOld
- Тип: SystemBoolean
- createNew
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskСм. также