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