Microsoft.Isam.Esent.Interop.Table.Table C# (CSharp) Method

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.
        public Table(JET_SESID sesid, JET_DBID dbid, string name, OpenTableGrbit grbit)
        {
            this.sesid = sesid;
            this.name = name;
            Api.JetOpenTable(this.sesid, dbid, this.name, null, 0, grbit, out this.tableid);
            this.ResourceWasAllocated();
        }