C# Class VxDbSchema, versaplex

Inheritance: ISchemaBackend
Afficher le fichier Open project: apenwarr/versaplex Class Usage Examples

Méthodes publiques

Méthode Description
Csv2Inserts ( string tablename, string csvtext ) : string
Dispose ( ) : void
DropSchema ( ) : VxSchemaErrors
DropSchema ( IEnumerable keys ) : VxSchemaErrors
DropSchemaElement ( string key ) : VxSchemaError
Get ( IEnumerable keys ) : VxSchema
GetChecksums ( ) : VxSchemaChecksums
GetSchemaData ( string tablename, int seqnum, string where, string>.Dictionary replaces, List skipfields ) : string
Normalize ( string text ) : string
Put ( VxSchema schema, VxSchemaChecksums sums, VxPutOpts opts ) : VxSchemaErrors
PutSchemaData ( string tablename, string text, int seqnum ) : void
StripMatchingParens ( string s ) : string
VxDbSchema ( WvDbi _dbi ) : System
WriteSchemaData ( StreamWriter sw, string tablename, int seqnum, string where, string>.Dictionary replaces, List skipfields ) : void
bin2hex ( byte data ) : string
wvmoniker_register ( ) : void

Private Methods

Méthode Description
AddIndexChecksumsToTables ( VxSchemaChecksums sums ) : void
AddIndexesToTables ( VxSchema schema, List names ) : void
ApplyChangedColumn ( VxSchemaTable table, VxSchemaTableElement oldelem, VxSchemaTableElement newelem, VxSchemaError expected_err, VxPutOpts opts ) : VxSchemaErrors
DbiExec ( string query ) : int
DbiExecRollback ( string trans_name ) : bool
DbiSelect ( string query ) : WvSqlRows
DropTableColumn ( VxSchemaTable table, VxSchemaTableElement col ) : void
EscapeSchemaElementName ( string name ) : string
GetDropCommand ( string type, string name ) : string
GetNullableColumn ( VxSchemaTableElement elem ) : VxSchemaTableElement
GetProcChecksums ( VxSchemaChecksums sums, string type, int encrypted ) : void
GetTableChecksums ( VxSchemaChecksums sums ) : void
GetXmlSchemaChecksums ( VxSchemaChecksums sums ) : void
PutSchemaElement ( VxSchemaElement elem, VxPutOpts opts ) : VxSchemaError
PutSchemaTable ( VxSchemaTable curtable, VxSchemaTable newtable, VxPutOpts opts ) : VxSchemaErrors
PutSchemaTableIndex ( string key, VxSchemaTable table, VxSchemaTableElement elem ) : VxSchemaError
PutSchemaTables ( List tables, VxSchema newschema, VxSchemaChecksums newsums, VxPutOpts opts ) : VxSchemaErrors
RetrieveProcSchemas ( VxSchema schema, List names, string type, int encrypted ) : void
RetrieveProcSchemasQuery ( string type, int encrypted, bool countonly, List names ) : string
RetrieveTableSchema ( VxSchema schema, List names ) : void
RetrieveXmlSchemas ( VxSchema schema, List names ) : void
XmlSchemasQuery ( int count, List names ) : string

Method Details

Csv2Inserts() public méthode

public Csv2Inserts ( string tablename, string csvtext ) : string
tablename string
csvtext string
Résultat string

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DropSchema() public méthode

public DropSchema ( ) : VxSchemaErrors
Résultat VxSchemaErrors

DropSchema() public méthode

public DropSchema ( IEnumerable keys ) : VxSchemaErrors
keys IEnumerable
Résultat VxSchemaErrors

DropSchemaElement() public méthode

public DropSchemaElement ( string key ) : VxSchemaError
key string
Résultat VxSchemaError

Get() public méthode

public Get ( IEnumerable keys ) : VxSchema
keys IEnumerable
Résultat VxSchema

GetChecksums() public méthode

public GetChecksums ( ) : VxSchemaChecksums
Résultat VxSchemaChecksums

GetSchemaData() public méthode

public GetSchemaData ( string tablename, int seqnum, string where, string>.Dictionary replaces, List skipfields ) : string
tablename string
seqnum int
where string
replaces string>.Dictionary
skipfields List
Résultat string

Normalize() public méthode

public Normalize ( string text ) : string
text string
Résultat string

Put() public méthode

public Put ( VxSchema schema, VxSchemaChecksums sums, VxPutOpts opts ) : VxSchemaErrors
schema VxSchema
sums VxSchemaChecksums
opts VxPutOpts
Résultat VxSchemaErrors

PutSchemaData() public méthode

public PutSchemaData ( string tablename, string text, int seqnum ) : void
tablename string
text string
seqnum int
Résultat void

StripMatchingParens() public static méthode

public static StripMatchingParens ( string s ) : string
s string
Résultat string

VxDbSchema() public méthode

public VxDbSchema ( WvDbi _dbi ) : System
_dbi Wv.WvDbi
Résultat System

WriteSchemaData() public méthode

public WriteSchemaData ( StreamWriter sw, string tablename, int seqnum, string where, string>.Dictionary replaces, List skipfields ) : void
sw StreamWriter
tablename string
seqnum int
where string
replaces string>.Dictionary
skipfields List
Résultat void

bin2hex() public méthode

public bin2hex ( byte data ) : string
data byte
Résultat string

wvmoniker_register() public static méthode

public static wvmoniker_register ( ) : void
Résultat void