public override void AddColumn(ColumnDefinition columnDef) { using (var transaction = new Transaction(connection.session)) using (var table = new Microsoft.Isam.Esent.Interop.Table(connection.session, connection.dbid, name, OpenTableGrbit.None)) { var tableCreator = new EseTableCreator(connection); tableCreator.AddColumn(table, columnDef); transaction.Commit(CommitTransactionGrbit.None); } RefreshTableInfo(); }
internal EseConnection(string filename) { this.filename = filename; tableCreator = new EseTableCreator(this); }