C# Class RSDN.Janus.ManageSchemaDB

Inheritance: IDisposable
Mostra file Open project: rsdn/janus Class Usage Examples

Public Methods

Method Description
CreateDB ( string pathDB ) : void
Dispose ( ) : void
FillFromADOX ( string pathDB, bool withData ) : void
LoadFromXML ( string pathXML ) : void
LoadFromXMLRes ( string filename ) : void
LoadOnlyVersion ( string pathXML ) : int
LoadOnlyVersionRes ( string pathXML ) : int
ManageSchemaDB ( ) : System
RestructDB ( string pathDB ) : bool
SaveToXML ( string pathXML ) : void

Private Methods

Method Description
ALTERColumnADOX ( ConnectionClass conn, string tableName, string columnName, ADOX columnType, int columnPrecision, int columnDefSize, jcolumns cols ) : void
AddColumnADOX ( string tableName, ColumnClass columnClass, ADOX columnType, int columnDefSize ) : void
AddTableADOX ( string tableName ) : void
FillDataRestruct ( ConnectionClass conn, string tableName, jrows rows ) : void

Method Details

CreateDB() public method

public CreateDB ( string pathDB ) : void
pathDB string
return void

Dispose() public method

public Dispose ( ) : void
return void

FillFromADOX() public method

public FillFromADOX ( string pathDB, bool withData ) : void
pathDB string
withData bool
return void

LoadFromXML() public method

public LoadFromXML ( string pathXML ) : void
pathXML string
return void

LoadFromXMLRes() public method

public LoadFromXMLRes ( string filename ) : void
filename string
return void

LoadOnlyVersion() public static method

public static LoadOnlyVersion ( string pathXML ) : int
pathXML string
return int

LoadOnlyVersionRes() public static method

public static LoadOnlyVersionRes ( string pathXML ) : int
pathXML string
return int

ManageSchemaDB() public method

public ManageSchemaDB ( ) : System
return System

RestructDB() public method

public RestructDB ( string pathDB ) : bool
pathDB string
return bool

SaveToXML() public method

public SaveToXML ( string pathXML ) : void
pathXML string
return void