CommandSelectScript - метод |
Пространство имён:
Tessa.Extensions.Default.Console.SqlScript
Сборка:
Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.5.0.19
Синтаксис [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("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("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"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("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 _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
- Тип: System.IOTextWriter
- stdErr
- Тип: System.IOTextWriter
- source (Optional)
- Тип: System.Collections.GenericIEnumerableString
- configurationString (Optional)
- Тип: SystemString
- databaseName (Optional)
- Тип: SystemString
- rowCount (Optional)
- Тип: SystemInt32
- separatorChar (Optional)
- Тип: SystemString
- showHeaders (Optional)
- Тип: SystemBoolean
- text (Optional)
- Тип: SystemBoolean
- parameters (Optional)
- Тип: System.Collections.GenericIEnumerableString
- quiet (Optional)
- Тип: SystemBoolean
- nologo (Optional)
- Тип: SystemBoolean
Возвращаемое значение
Тип:
TaskСм. также