C# Class BDB.BDB43

Afficher le fichier Open project: JoshData/semweb-dotnet Class Usage Examples

Méthodes publiques

Свойство Type Description
KeyType DataType

Méthodes publiques

Méthode Description
Append ( object key, object value ) : void
BDB43 ( string file, bool create, DBFormat format, bool allowDuplicates, Env environment ) : System
BDB43 ( string file, string table, bool create, DBFormat format, bool allowDuplicates, Env environment ) : System
Close ( ) : void
Delete ( object key ) : void
Get ( object key ) : object
NewCursor ( ) : Cursor
Put ( object key, object value ) : void
PutNew ( object key, object value ) : bool
Sync ( ) : void
Truncate ( ) : long

Private Methods

Méthode 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 méthode

public Append ( object key, object value ) : void
key object
value object
Résultat void

BDB43() public méthode

public BDB43 ( string file, bool create, DBFormat format, bool allowDuplicates, Env environment ) : System
file string
create bool
format DBFormat
allowDuplicates bool
environment Env
Résultat System

BDB43() public méthode

public BDB43 ( 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
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

Delete() public méthode

public Delete ( object key ) : void
key object
Résultat void

Get() public méthode

public Get ( object key ) : object
key object
Résultat object

NewCursor() public méthode

public NewCursor ( ) : Cursor
Résultat Cursor

Put() public méthode

public Put ( object key, object value ) : void
key object
value object
Résultat void

PutNew() public méthode

public PutNew ( object key, object value ) : bool
key object
value object
Résultat bool

Sync() public méthode

public Sync ( ) : void
Résultat void

Truncate() public méthode

public Truncate ( ) : long
Résultat long

Property Details

KeyType public_oe property

public DataType KeyType
Résultat DataType