OperationExecuteAsync - метод
Пространство имён: Tessa.Extensions.Default.Console.SqlScriptСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
public static Task<int> ExecuteAsync(
IConsoleLogger logger,
IEnumerable<string>? source,
bool transaction,
string? configurationString,
string? databaseName,
string[]? parameters,
bool selectMode,
bool csvResult = false,
int topRowCount = 0,
char csvSeparator = ';',
bool showHeaders = false,
CancellationToken cancellationToken = default
)
Public Shared Function ExecuteAsync (
logger As IConsoleLogger,
source As IEnumerable(Of String),
transaction As Boolean,
configurationString As String,
databaseName As String,
parameters As String(),
selectMode As Boolean,
Optional csvResult As Boolean = false,
Optional topRowCount As Integer = 0,
Optional csvSeparator As Char = ";"C,
Optional showHeaders As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Integer)
public:
static Task<int>^ ExecuteAsync(
IConsoleLogger^ logger,
IEnumerable<String^>^ source,
bool transaction,
String^ configurationString,
String^ databaseName,
array<String^>^ parameters,
bool selectMode,
bool csvResult = false,
int topRowCount = 0,
wchar_t csvSeparator = L';',
bool showHeaders = false,
CancellationToken cancellationToken = CancellationToken()
)
static member ExecuteAsync :
logger : IConsoleLogger *
source : IEnumerable<string> *
transaction : bool *
configurationString : string *
databaseName : string *
parameters : string[] *
selectMode : bool *
?csvResult : bool *
?topRowCount : int *
?csvSeparator : char *
?showHeaders : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _csvResult = defaultArg csvResult false
let _topRowCount = defaultArg topRowCount 0
let _csvSeparator = defaultArg csvSeparator ';'
let _showHeaders = defaultArg showHeaders false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<int>
- logger IConsoleLogger
-
- source IEnumerableString
-
- transaction Boolean
-
- configurationString String
-
- databaseName String
-
- parameters String
-
- selectMode Boolean
-
- csvResult Boolean (Optional)
-
- topRowCount Int32 (Optional)
-
- csvSeparator Char (Optional)
-
- showHeaders Boolean (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskInt32