Example #1
0
        /// <summary>
        /// Begin transaction
        /// </summary>
        /// <returns></returns>
        public bool BeginTransaction()
        {
            if (databaseId <= 0)
            {
                return(false);
            }

            lock (SyncRoot)
            {
                VistaDBAPI.ivdb_SelectDb(databaseId);
                return(VistaDBAPI.ivdb_BeginTransaction());
            }
        }