C# 클래스 VxDbSchema, versaplex

상속: ISchemaBackend
파일 보기 프로젝트 열기: apenwarr/versaplex 1 사용 예제들

공개 메소드들

메소드 설명
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