C# Класс VxDbSchema, versaplex

Наследование: ISchemaBackend
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Csv2Inserts() публичный Метод

public Csv2Inserts ( string tablename, string csvtext ) : string
tablename string
csvtext string
Результат string

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

DropSchema() публичный Метод

public DropSchema ( ) : VxSchemaErrors
Результат VxSchemaErrors

DropSchema() публичный Метод

public DropSchema ( IEnumerable keys ) : VxSchemaErrors
keys IEnumerable
Результат VxSchemaErrors

DropSchemaElement() публичный Метод

public DropSchemaElement ( string key ) : VxSchemaError
key string
Результат VxSchemaError

Get() публичный Метод

public Get ( IEnumerable keys ) : VxSchema
keys IEnumerable
Результат VxSchema

GetChecksums() публичный Метод

public GetChecksums ( ) : VxSchemaChecksums
Результат VxSchemaChecksums

GetSchemaData() публичный Метод

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
Результат string

Normalize() публичный Метод

public Normalize ( string text ) : string
text string
Результат string

Put() публичный Метод

public Put ( VxSchema schema, VxSchemaChecksums sums, VxPutOpts opts ) : VxSchemaErrors
schema VxSchema
sums VxSchemaChecksums
opts VxPutOpts
Результат VxSchemaErrors

PutSchemaData() публичный Метод

public PutSchemaData ( string tablename, string text, int seqnum ) : void
tablename string
text string
seqnum int
Результат void

StripMatchingParens() публичный статический Метод

public static StripMatchingParens ( string s ) : string
s string
Результат string

VxDbSchema() публичный Метод

public VxDbSchema ( WvDbi _dbi ) : System
_dbi Wv.WvDbi
Результат System

WriteSchemaData() публичный Метод

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
Результат void

bin2hex() публичный Метод

public bin2hex ( byte data ) : string
data byte
Результат string

wvmoniker_register() публичный статический Метод

public static wvmoniker_register ( ) : void
Результат void