C# Класс Upscaledb.NativeMethods

Показать файл Открыть проект

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

Метод Описание
CursorFind ( IntPtr handle, byte &keydata, byte &recdata, int flags ) : int
CursorGet ( IntPtr handle, int flags, byte &keyArray, byte &recordArray ) : int
CursorGetKey ( IntPtr handle, int flags ) : byte[]
CursorGetRecord ( IntPtr handle, int flags ) : byte[]
CursorInsert ( IntPtr handle, byte keyData, byte recordData, int flags ) : int
CursorMove ( IntPtr handle, int flags ) : int
CursorOverwrite ( IntPtr handle, byte data, int flags ) : int
EnvGetDatabaseNames ( IntPtr handle, short &names ) : int
Erase ( IntPtr handle, IntPtr txnhandle, byte data, int flags ) : int
Find ( IntPtr handle, IntPtr txnhandle, byte &keydata, byte &recdata, int flags ) : int
Insert ( IntPtr handle, IntPtr txnhandle, byte keyData, byte recordData, int flags ) : int
InsertRecNo ( IntPtr handle, IntPtr txnhandle, byte &keydata, byte recordData, int flags ) : int
ResultGetKey ( IntPtr handle, int row ) : byte[]
ResultGetRecord ( IntPtr handle, int row ) : byte[]
StringError ( int error ) : string

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

Метод Описание
Close ( IntPtr handle, int flags ) : int
CursorClone ( IntPtr handle, IntPtr &clone ) : int
CursorClose ( IntPtr handle ) : int
CursorCreate ( IntPtr &chandle, IntPtr dbhandle, IntPtr txnhandle, int flags ) : int
CursorErase ( IntPtr handle, int flags ) : int
CursorFindLow ( IntPtr handle, KeyStruct &key, RecordStruct &record, int flags ) : int
CursorGetDuplicateCount ( IntPtr handle, int &count, int flags ) : int
CursorInsertLow ( IntPtr handle, KeyStruct &key, RecordStruct &record, int flags ) : int
CursorMoveLow ( IntPtr handle, IntPtr key, IntPtr record, int flags ) : int
CursorMoveLow ( IntPtr handle, IntPtr key, RecordStruct &record, int flags ) : int
CursorMoveLow ( IntPtr handle, KeyStruct &key, IntPtr record, int flags ) : int
CursorMoveLow ( IntPtr handle, KeyStruct &key, RecordStruct &record, int flags ) : int
CursorOverwriteLow ( IntPtr handle, RecordStruct &record, int flags ) : int
EnvClose ( IntPtr handle, int flags ) : int
EnvCreate ( IntPtr &handle, String fileName, int flags, int mode, Parameter parameters ) : int
EnvCreateDatabase ( IntPtr handle, IntPtr &dbhandle, short name, int flags, Parameter parameters ) : int
EnvEraseDatabase ( IntPtr handle, short name, int flags ) : int
EnvFlush ( IntPtr handle, int flags ) : int
EnvGetDatabaseNamesLow ( IntPtr handle, IntPtr dbnames, int &count ) : int
EnvOpen ( IntPtr &handle, String fileName, int flags, Parameter parameters ) : int
EnvOpenDatabase ( IntPtr handle, IntPtr &dbhandle, short name, int flags, Parameter parameters ) : int
EnvRenameDatabase ( IntPtr handle, short oldName, short newName ) : int
EnvSelectRange ( IntPtr handle, String query, IntPtr begin, IntPtr end, IntPtr &result ) : int
EraseLow ( IntPtr handle, IntPtr txnhandle, KeyStruct &key, int flags ) : int
FindLow ( IntPtr handle, IntPtr txnhandle, KeyStruct &key, RecordStruct &record, int flags ) : int
GetCount ( IntPtr handle, IntPtr txnhandle, int flags, System.Int64 &count ) : int
GetEnv ( IntPtr handle ) : IntPtr
GetLastError ( IntPtr handle ) : int
GetVersion ( int &major, int &minor, int &revision ) : void
InsertLow ( IntPtr handle, IntPtr txnhandle, KeyStruct &key, RecordStruct &record, int flags ) : int
LoadLibrary ( string dllToLoad ) : IntPtr
NativeMethods ( ) : System
RegisterCompare ( String name, CompareFunc foo ) : int
ResultClose ( IntPtr handle ) : void
ResultGetKeyLow ( IntPtr handle, int row, KeyStruct &key ) : void
ResultGetKeyType ( IntPtr handle ) : int
ResultGetRecordLow ( IntPtr handle, int row, RecordStruct &record ) : void
ResultGetRecordType ( IntPtr handle ) : int
ResultGetRowCount ( IntPtr handle ) : int
SetCompareFunc ( IntPtr handle, CompareFunc foo ) : int
SetErrorHandler ( ErrorHandler eh ) : void
StringErrorImpl ( int error ) : IntPtr
TxnAbort ( IntPtr handle, int flags ) : int
TxnBegin ( IntPtr &txnhandle, IntPtr envhandle, String filename, IntPtr reserved, int flags ) : int
TxnCommit ( IntPtr handle, int flags ) : int

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

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

public static CursorFind ( IntPtr handle, byte &keydata, byte &recdata, int flags ) : int
handle System.IntPtr
keydata byte
recdata byte
flags int
Результат int

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

public static CursorGet ( IntPtr handle, int flags, byte &keyArray, byte &recordArray ) : int
handle System.IntPtr
flags int
keyArray byte
recordArray byte
Результат int

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

public static CursorGetKey ( IntPtr handle, int flags ) : byte[]
handle System.IntPtr
flags int
Результат byte[]

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

public static CursorGetRecord ( IntPtr handle, int flags ) : byte[]
handle System.IntPtr
flags int
Результат byte[]

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

public static CursorInsert ( IntPtr handle, byte keyData, byte recordData, int flags ) : int
handle System.IntPtr
keyData byte
recordData byte
flags int
Результат int

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

public static CursorMove ( IntPtr handle, int flags ) : int
handle System.IntPtr
flags int
Результат int

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

public static CursorOverwrite ( IntPtr handle, byte data, int flags ) : int
handle System.IntPtr
data byte
flags int
Результат int

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

public static EnvGetDatabaseNames ( IntPtr handle, short &names ) : int
handle System.IntPtr
names short
Результат int

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

public static Erase ( IntPtr handle, IntPtr txnhandle, byte data, int flags ) : int
handle System.IntPtr
txnhandle System.IntPtr
data byte
flags int
Результат int

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

public static Find ( IntPtr handle, IntPtr txnhandle, byte &keydata, byte &recdata, int flags ) : int
handle System.IntPtr
txnhandle System.IntPtr
keydata byte
recdata byte
flags int
Результат int

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

public static Insert ( IntPtr handle, IntPtr txnhandle, byte keyData, byte recordData, int flags ) : int
handle System.IntPtr
txnhandle System.IntPtr
keyData byte
recordData byte
flags int
Результат int

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

public static InsertRecNo ( IntPtr handle, IntPtr txnhandle, byte &keydata, byte recordData, int flags ) : int
handle System.IntPtr
txnhandle System.IntPtr
keydata byte
recordData byte
flags int
Результат int

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

public static ResultGetKey ( IntPtr handle, int row ) : byte[]
handle System.IntPtr
row int
Результат byte[]

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

public static ResultGetRecord ( IntPtr handle, int row ) : byte[]
handle System.IntPtr
row int
Результат byte[]

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

public static StringError ( int error ) : string
error int
Результат string