CommandSelectScript - метод
Пространство имён: Tessa.Extensions.Default.Console.SqlScriptСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("Select")]
[LocalizableDescriptionAttribute("Common_CLI_Select")]
public static Task SelectScript(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_SourceSql")] IEnumerable<string>? source = null,
[ArgumentAttribute("tran")][LocalizableDescriptionAttribute("Common_CLI_SqlCommandTransaction")] bool transaction = false,
[ArgumentAttribute("cs")][LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")] string? configurationString = null,
[ArgumentAttribute("db")][LocalizableDescriptionAttribute("Common_CLI_DatabaseName")] string? databaseName = null,
[ArgumentAttribute("top")][LocalizableDescriptionAttribute("Common_CLI_TopRowCount")] int rowCount = 0,
[ArgumentAttribute("s")][LocalizableDescriptionAttribute("Common_CLI_CsvSeparator")] string separatorChar = ";",
[ArgumentAttribute("h")][LocalizableDescriptionAttribute("Common_CLI_ShowHeaders")] bool showHeaders = false,
[ArgumentAttribute("text")][LocalizableDescriptionAttribute("Common_CLI_TextMode")] bool text = false,
[ArgumentAttribute("p")][LocalizableDescriptionAttribute("Common_CLI_ParametersSql")] IEnumerable<string>? parameters = null,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("Select")>
<LocalizableDescriptionAttribute("Common_CLI_Select")>
Public Shared Function SelectScript (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_SourceSql")> Optional source As IEnumerable(Of String) = Nothing,
<ArgumentAttribute("tran")><LocalizableDescriptionAttribute("Common_CLI_SqlCommandTransaction")> Optional transaction As Boolean = false,
<ArgumentAttribute("cs")><LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")> Optional configurationString As String = Nothing,
<ArgumentAttribute("db")><LocalizableDescriptionAttribute("Common_CLI_DatabaseName")> Optional databaseName As String = Nothing,
<ArgumentAttribute("top")><LocalizableDescriptionAttribute("Common_CLI_TopRowCount")> Optional rowCount As Integer = 0,
<ArgumentAttribute("s")><LocalizableDescriptionAttribute("Common_CLI_CsvSeparator")> Optional separatorChar As String = ";",
<ArgumentAttribute("h")><LocalizableDescriptionAttribute("Common_CLI_ShowHeaders")> Optional showHeaders As Boolean = false,
<ArgumentAttribute("text")><LocalizableDescriptionAttribute("Common_CLI_TextMode")> Optional text As Boolean = false,
<ArgumentAttribute("p")><LocalizableDescriptionAttribute("Common_CLI_ParametersSql")> Optional parameters As IEnumerable(Of String) = Nothing,
<ArgumentAttribute("q")><LocalizableDescriptionAttribute("Common_CLI_Quiet")> Optional quiet As Boolean = false,
<ArgumentAttribute("nologo")><LocalizableDescriptionAttribute("CLI_NoLogo")> Optional nologo As Boolean = false
) As Task
public:
[VerbAttribute(L"Select")]
[LocalizableDescriptionAttribute(L"Common_CLI_Select")]
static Task^ SelectScript(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_SourceSql")] IEnumerable<String^>^ source = nullptr,
[ArgumentAttribute(L"tran")][LocalizableDescriptionAttribute(L"Common_CLI_SqlCommandTransaction")] bool transaction = false,
[ArgumentAttribute(L"cs")][LocalizableDescriptionAttribute(L"Common_CLI_ConfigurationString")] String^ configurationString = nullptr,
[ArgumentAttribute(L"db")][LocalizableDescriptionAttribute(L"Common_CLI_DatabaseName")] String^ databaseName = nullptr,
[ArgumentAttribute(L"top")][LocalizableDescriptionAttribute(L"Common_CLI_TopRowCount")] int rowCount = 0,
[ArgumentAttribute(L"s")][LocalizableDescriptionAttribute(L"Common_CLI_CsvSeparator")] String^ separatorChar = L";",
[ArgumentAttribute(L"h")][LocalizableDescriptionAttribute(L"Common_CLI_ShowHeaders")] bool showHeaders = false,
[ArgumentAttribute(L"text")][LocalizableDescriptionAttribute(L"Common_CLI_TextMode")] bool text = false,
[ArgumentAttribute(L"p")][LocalizableDescriptionAttribute(L"Common_CLI_ParametersSql")] IEnumerable<String^>^ parameters = nullptr,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("Select")>]
[<LocalizableDescriptionAttribute("Common_CLI_Select")>]
static member SelectScript :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_SourceSql")>] ?source : IEnumerable<string> *
[<ArgumentAttribute("tran")>][<LocalizableDescriptionAttribute("Common_CLI_SqlCommandTransaction")>] ?transaction : bool *
[<ArgumentAttribute("cs")>][<LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")>] ?configurationString : string *
[<ArgumentAttribute("db")>][<LocalizableDescriptionAttribute("Common_CLI_DatabaseName")>] ?databaseName : string *
[<ArgumentAttribute("top")>][<LocalizableDescriptionAttribute("Common_CLI_TopRowCount")>] ?rowCount : int *
[<ArgumentAttribute("s")>][<LocalizableDescriptionAttribute("Common_CLI_CsvSeparator")>] ?separatorChar : string *
[<ArgumentAttribute("h")>][<LocalizableDescriptionAttribute("Common_CLI_ShowHeaders")>] ?showHeaders : bool *
[<ArgumentAttribute("text")>][<LocalizableDescriptionAttribute("Common_CLI_TextMode")>] ?text : bool *
[<ArgumentAttribute("p")>][<LocalizableDescriptionAttribute("Common_CLI_ParametersSql")>] ?parameters : IEnumerable<string> *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _source = defaultArg source null
let _transaction = defaultArg transaction false
let _configurationString = defaultArg configurationString null
let _databaseName = defaultArg databaseName null
let _rowCount = defaultArg rowCount 0
let _separatorChar = defaultArg separatorChar ";"
let _showHeaders = defaultArg showHeaders false
let _text = defaultArg text false
let _parameters = defaultArg parameters null
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- source IEnumerableString (Optional)
-
- transaction Boolean (Optional)
-
- configurationString String (Optional)
-
- databaseName String (Optional)
-
- rowCount Int32 (Optional)
-
- separatorChar String (Optional)
-
- showHeaders Boolean (Optional)
-
- text Boolean (Optional)
-
- parameters IEnumerableString (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task