DefaultConsoleHelperCreateDbManagerAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Console
Сборка:
Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.5.0.19
Синтаксис public static Task<DbManager> CreateDbManagerAsync(
IConsoleLogger logger,
string configurationString,
string databaseNameOverride,
CancellationToken cancellationToken = default
)
Public Shared Function CreateDbManagerAsync (
logger As IConsoleLogger,
configurationString As String,
databaseNameOverride As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of DbManager)
public:
static Task<DbManager^>^ CreateDbManagerAsync(
IConsoleLogger^ logger,
String^ configurationString,
String^ databaseNameOverride,
CancellationToken cancellationToken = CancellationToken()
)
static member CreateDbManagerAsync :
logger : IConsoleLogger *
configurationString : string *
databaseNameOverride : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<DbManager>
Параметры
- logger
- Тип: Tessa.Platform.ConsoleAppsIConsoleLogger
- configurationString
- Тип: SystemString
- databaseNameOverride
- Тип: SystemString
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskDbManagerСм. также