CommandMigrateDatabase - метод
Пространство имён: Tessa.Extensions.Default.Console.MigrateDatabaseСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("MigrateDatabase")]
[LocalizableDescriptionAttribute("Common_CLI_MigrateDatabase")]
public static Task MigrateDatabase(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_MigrationTargetConfigurationString")] string? targetCS,
[ArgumentAttribute("tdb")][LocalizableDescriptionAttribute("Common_CLI_MigrationTargetDatabaseName")] string? targetDatabaseName = null,
[ArgumentAttribute("cs")][LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")] string? configurationString = null,
[ArgumentAttribute("db")][LocalizableDescriptionAttribute("Common_CLI_DatabaseName")] string? databaseName = null,
[ArgumentAttribute("p")][LocalizableDescriptionAttribute("Common_CLI_ConcurrentConnectionCount")] int threadCount = 0,
[ArgumentAttribute("bulk")][LocalizableDescriptionAttribute("Common_CLI_BulkInsertSize")] int bulkSize = 10000,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("MigrateDatabase")>
<LocalizableDescriptionAttribute("Common_CLI_MigrateDatabase")>
Public Shared Function MigrateDatabase (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_MigrationTargetConfigurationString")> targetCS As String,
<ArgumentAttribute("tdb")><LocalizableDescriptionAttribute("Common_CLI_MigrationTargetDatabaseName")> Optional targetDatabaseName As 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_ConcurrentConnectionCount")> Optional threadCount As Integer = 0,
<ArgumentAttribute("bulk")><LocalizableDescriptionAttribute("Common_CLI_BulkInsertSize")> Optional bulkSize As Integer = 10000,
<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"MigrateDatabase")]
[LocalizableDescriptionAttribute(L"Common_CLI_MigrateDatabase")]
static Task^ MigrateDatabase(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_MigrationTargetConfigurationString")] String^ targetCS,
[ArgumentAttribute(L"tdb")][LocalizableDescriptionAttribute(L"Common_CLI_MigrationTargetDatabaseName")] String^ targetDatabaseName = 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_ConcurrentConnectionCount")] int threadCount = 0,
[ArgumentAttribute(L"bulk")][LocalizableDescriptionAttribute(L"Common_CLI_BulkInsertSize")] int bulkSize = 10000,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("MigrateDatabase")>]
[<LocalizableDescriptionAttribute("Common_CLI_MigrateDatabase")>]
static member MigrateDatabase :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_MigrationTargetConfigurationString")>] targetCS : string *
[<ArgumentAttribute("tdb")>][<LocalizableDescriptionAttribute("Common_CLI_MigrationTargetDatabaseName")>] ?targetDatabaseName : string *
[<ArgumentAttribute("cs")>][<LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")>] ?configurationString : string *
[<ArgumentAttribute("db")>][<LocalizableDescriptionAttribute("Common_CLI_DatabaseName")>] ?databaseName : string *
[<ArgumentAttribute("p")>][<LocalizableDescriptionAttribute("Common_CLI_ConcurrentConnectionCount")>] ?threadCount : int *
[<ArgumentAttribute("bulk")>][<LocalizableDescriptionAttribute("Common_CLI_BulkInsertSize")>] ?bulkSize : int *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _targetDatabaseName = defaultArg targetDatabaseName null
let _configurationString = defaultArg configurationString null
let _databaseName = defaultArg databaseName null
let _threadCount = defaultArg threadCount 0
let _bulkSize = defaultArg bulkSize 10000
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- targetCS String
-
- targetDatabaseName String (Optional)
-
- configurationString String (Optional)
-
- databaseName String (Optional)
-
- threadCount Int32 (Optional)
-
- bulkSize Int32 (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task