C# Class Zetbox.API.Migration.MigrationProgram

Afficher le fichier Open project: daszat/zetbox

Méthodes protégées

Méthode Description
ConfigureBuilder ( ContainerBuilder builder ) : void
CreateMasterContainer ( ZetboxConfig config ) : IContainer
CreateMigrationReport ( IEnumerable srcTables, ISchemaProvider srcSchema, ISchemaProvider dstSchema ) : void
CreateOptionSet ( ) : OptionSet
CreateReport ( ) : void
Execute ( ) : void
ExecuteCore ( IZetboxServerContext ctx ) : void
GetConfigFileName ( ) : string
MigrationProgram ( string name, string arguments ) : System
OpenProvider ( ILifetimeScope scope, string provider, string connectionString ) : ISchemaProvider
PrintHelp ( ) : void
PrintHelpAndExit ( ) : void
ReadConfig ( List extraArguments ) : ZetboxConfig
ReloadStaging ( StagingDatabase stage ) : void
ValidateConfig ( ) : void
WriteLog ( string srcTbl, long srcRows, string dstTbl, long dstRows ) : void

Private Methods

Méthode Description
Initialize ( ) : void

Method Details

ConfigureBuilder() protected méthode

protected ConfigureBuilder ( ContainerBuilder builder ) : void
builder Autofac.ContainerBuilder
Résultat void

CreateMasterContainer() protected méthode

protected CreateMasterContainer ( ZetboxConfig config ) : IContainer
config Zetbox.API.Configuration.ZetboxConfig
Résultat IContainer

CreateMigrationReport() protected static méthode

protected static CreateMigrationReport ( IEnumerable srcTables, ISchemaProvider srcSchema, ISchemaProvider dstSchema ) : void
srcTables IEnumerable
srcSchema ISchemaProvider
dstSchema ISchemaProvider
Résultat void

CreateOptionSet() protected méthode

protected CreateOptionSet ( ) : OptionSet
Résultat OptionSet

CreateReport() protected abstract méthode

protected abstract CreateReport ( ) : void
Résultat void

Execute() protected méthode

protected Execute ( ) : void
Résultat void

ExecuteCore() protected abstract méthode

protected abstract ExecuteCore ( IZetboxServerContext ctx ) : void
ctx IZetboxServerContext
Résultat void

GetConfigFileName() protected méthode

protected GetConfigFileName ( ) : string
Résultat string

MigrationProgram() protected méthode

protected MigrationProgram ( string name, string arguments ) : System
name string
arguments string
Résultat System

OpenProvider() protected static méthode

protected static OpenProvider ( ILifetimeScope scope, string provider, string connectionString ) : ISchemaProvider
scope ILifetimeScope
provider string
connectionString string
Résultat ISchemaProvider

PrintHelp() protected méthode

protected PrintHelp ( ) : void
Résultat void

PrintHelpAndExit() protected méthode

protected PrintHelpAndExit ( ) : void
Résultat void

ReadConfig() protected méthode

protected ReadConfig ( List extraArguments ) : ZetboxConfig
extraArguments List
Résultat Zetbox.API.Configuration.ZetboxConfig

ReloadStaging() protected méthode

protected ReloadStaging ( StagingDatabase stage ) : void
stage StagingDatabase
Résultat void

ValidateConfig() protected méthode

protected ValidateConfig ( ) : void
Résultat void

WriteLog() protected méthode

protected WriteLog ( string srcTbl, long srcRows, string dstTbl, long dstRows ) : void
srcTbl string
srcRows long
dstTbl string
dstRows long
Résultat void