コード例 #1
0
        public override void Dispose()
        {
            if (this.connectionID == 0)
            {
                return;
            }

            try
            {
                CloseDatabaseConnection();
            }
            finally
            {
                VistaDBAPI.ivsql_FreeDatabaseConnection(this.connectionID);
                this.connectionID = 0;
            }
        }