C# Class Microsoft.Isam.Esent.Interop.Table

A class that encapsulates a JET_TABLEID in a disposable object. This opens an existing table. To create a table use the JetCreateTable method.
Inheritance: Microsoft.Isam.Esent.Interop.EsentResource
Show file Open project: ayende/managed-esent Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Close the table.

Table ( JET_SESID sesid, JET_DBID dbid, string name, OpenTableGrbit grbit )

Initializes a new instance of the Table class. The table is opened from the given database.

Protected Methods

Method Description
ReleaseResource ( ) : void

Free the underlying JET_TABLEID.

Method Details

Close() public method

Close the table.
public Close ( ) : void
return void

ReleaseResource() protected method

Free the underlying JET_TABLEID.
protected ReleaseResource ( ) : void
return void

Table() public method

Initializes a new instance of the Table class. The table is opened from the given database.
public Table ( JET_SESID sesid, JET_DBID dbid, string name, OpenTableGrbit grbit )
sesid JET_SESID The session to use.
dbid JET_DBID The database to open the table in.
name string The name of the table.
grbit OpenTableGrbit JetOpenTable options.