C# Class Adroit.Data.BDB46

Show file Open project: chergert/adroit Class Usage Examples

Public Properties

Property Type Description
KeyType DataType

Public Methods

Method Description
Append ( object value ) : int
Append ( object key, object value ) : void
BDB46 ( string file, bool create, DBFormat format, bool allowDuplicates, Env environment ) : System
BDB46 ( string file, string table, bool create, DBFormat format, bool allowDuplicates, Env environment ) : System
Close ( ) : void
Delete ( object key ) : void
Get ( object key ) : object
Insert ( uint key, object value ) : void
Locate ( BdbLocateFunc func ) : object>.KeyValuePair
NewCursor ( ) : Cursor
Put ( object key, object value ) : void
PutNew ( object key, object value ) : bool
Sync ( ) : void
Truncate ( ) : long

Private Methods

Method Description
CheckError ( int error ) : void
Put ( object key, object value, uint flags ) : bool
db_create ( IntPtr &dbp, IntPtr dbenv, uint flags ) : int
db_env_create ( IntPtr &dbenvp, uint flags ) : int
db_strerror ( int error ) : IntPtr

Method Details

Append() public method

public Append ( object value ) : int
value object
return int

Append() public method

public Append ( object key, object value ) : void
key object
value object
return void

BDB46() public method

public BDB46 ( string file, bool create, DBFormat format, bool allowDuplicates, Env environment ) : System
file string
create bool
format DBFormat
allowDuplicates bool
environment Env
return System

BDB46() public method

public BDB46 ( string file, string table, bool create, DBFormat format, bool allowDuplicates, Env environment ) : System
file string
table string
create bool
format DBFormat
allowDuplicates bool
environment Env
return System

Close() public method

public Close ( ) : void
return void

Delete() public method

public Delete ( object key ) : void
key object
return void

Get() public method

public Get ( object key ) : object
key object
return object

Insert() public method

public Insert ( uint key, object value ) : void
key uint
value object
return void

Locate() public method

public Locate ( BdbLocateFunc func ) : object>.KeyValuePair
func BdbLocateFunc
return object>.KeyValuePair

NewCursor() public method

public NewCursor ( ) : Cursor
return Cursor

Put() public method

public Put ( object key, object value ) : void
key object
value object
return void

PutNew() public method

public PutNew ( object key, object value ) : bool
key object
value object
return bool

Sync() public method

public Sync ( ) : void
return void

Truncate() public method

public Truncate ( ) : long
return long

Property Details

KeyType public property

public DataType KeyType
return DataType