OperationExecuteAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Console.SqlScript
Сборка:
Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.5.0.19
Синтаксис public static Task<int> ExecuteAsync(
IConsoleLogger logger,
IEnumerable<string> source,
string configurationString,
string databaseName,
IEnumerable<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),
configurationString As String,
databaseName As String,
parameters As IEnumerable(Of 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,
String^ configurationString,
String^ databaseName,
IEnumerable<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> *
configurationString : string *
databaseName : string *
parameters : IEnumerable<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
- Тип: Tessa.Platform.ConsoleAppsIConsoleLogger
- source
- Тип: System.Collections.GenericIEnumerableString
- configurationString
- Тип: SystemString
- databaseName
- Тип: SystemString
- parameters
- Тип: System.Collections.GenericIEnumerableString
- selectMode
- Тип: SystemBoolean
- csvResult (Optional)
- Тип: SystemBoolean
- topRowCount (Optional)
- Тип: SystemInt32
- csvSeparator (Optional)
- Тип: SystemChar
- showHeaders (Optional)
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskInt32См. также