C# Class XAF_Bootstrap.DatabaseUpdate.Updater

Inheritance: ModuleUpdater
显示文件 Open project: Terricks/XAFBootstrap Class Usage Examples

Public Methods

Method Description
CheckResource ( string location, string resourceName, System.Boolean copyOnlyIfNotExists = true, String Path = "XAF_Bootstrap.Content", Assembly assembly = null, String CustomDirectory = "" ) : void
CheckResources ( ) : void
Configuration ( IObjectSpace ObjectSpace ) : XAFBootstrapConfiguration
UpdateDatabaseAfterUpdateSchema ( ) : void
UpdateDatabaseBeforeUpdateSchema ( ) : void
Updater ( IObjectSpace objectSpace, System.Version currentDBVersion ) : System

Private Methods

Method Description
CopyResource ( string resourceName, string file, System.Boolean copyOnlyIfNotExists = true, Assembly assembly = null ) : void

Method Details

CheckResource() public static method

public static CheckResource ( string location, string resourceName, System.Boolean copyOnlyIfNotExists = true, String Path = "XAF_Bootstrap.Content", Assembly assembly = null, String CustomDirectory = "" ) : void
location string
resourceName string
copyOnlyIfNotExists System.Boolean
Path String
assembly System.Reflection.Assembly
CustomDirectory String
return void

CheckResources() public static method

public static CheckResources ( ) : void
return void

Configuration() public static method

public static Configuration ( IObjectSpace ObjectSpace ) : XAFBootstrapConfiguration
ObjectSpace IObjectSpace
return XAF_Bootstrap.BusinessObjects.XAFBootstrapConfiguration

UpdateDatabaseAfterUpdateSchema() public method

public UpdateDatabaseAfterUpdateSchema ( ) : void
return void

UpdateDatabaseBeforeUpdateSchema() public method

public UpdateDatabaseBeforeUpdateSchema ( ) : void
return void

Updater() public method

public Updater ( IObjectSpace objectSpace, System.Version currentDBVersion ) : System
objectSpace IObjectSpace
currentDBVersion System.Version
return System