ConsoleAppHelperCreateDbManagerAsync(IConsoleLogger, IConsoleScriptOptions, IDbConnectionStringCleaner, CancellationToken) - метод
Пространство имён: Tessa.Platform.ConsoleAppsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public static Task<DbManager> CreateDbManagerAsync(
IConsoleLogger? logger,
IConsoleScriptOptions options,
IDbConnectionStringCleaner? connectionStringCleaner = null,
CancellationToken cancellationToken = default
)
Public Shared Function CreateDbManagerAsync (
logger As IConsoleLogger,
options As IConsoleScriptOptions,
Optional connectionStringCleaner As IDbConnectionStringCleaner = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of DbManager)
public:
static Task<DbManager^>^ CreateDbManagerAsync(
IConsoleLogger^ logger,
IConsoleScriptOptions^ options,
IDbConnectionStringCleaner^ connectionStringCleaner = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
static member CreateDbManagerAsync :
logger : IConsoleLogger *
options : IConsoleScriptOptions *
?connectionStringCleaner : IDbConnectionStringCleaner *
?cancellationToken : CancellationToken
(* Defaults:
let _connectionStringCleaner = defaultArg connectionStringCleaner null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<DbManager>
- logger IConsoleLogger
-
- options IConsoleScriptOptions
-
- connectionStringCleaner IDbConnectionStringCleaner (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskDbManager