CommandSqlScript - метод
Пространство имён: Tessa.Extensions.Default.Console.SqlScriptСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("Sql")]
[LocalizableDescriptionAttribute("Common_CLI_Sql")]
public static Task SqlScript(
[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("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("Sql")>
<LocalizableDescriptionAttribute("Common_CLI_Sql")>
Public Shared Function SqlScript (
<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("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"Sql")]
[LocalizableDescriptionAttribute(L"Common_CLI_Sql")]
static Task^ SqlScript(
[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"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("Sql")>]
[<LocalizableDescriptionAttribute("Common_CLI_Sql")>]
static member SqlScript :
[<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("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 _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)
-
- parameters IEnumerableString (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task