Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IsamDatabase"/> class.
 /// </summary>
 /// <param name="isamSession">The session.</param>
 /// <param name="databaseName">Name of the database.</param>
 internal IsamDatabase(IsamSession isamSession, string databaseName)
     : base(isamSession)
 {
     lock (isamSession)
     {
         Api.JetOpenDatabase(isamSession.Sesid, databaseName, null, out this.dbid, OpenDatabaseGrbit.None);
         this.cleanup = true;
         this.tableCollection = new TableCollection(this);
     }
 }