Esempio n. 1
0
        public virtual bool ExecuteNext()
        {
            if (buffers.Count == 0)
                return false;

            MySqlStream stream = (MySqlStream)buffers[0];
            MemoryStream ms = stream.InternalBuffer;
            Driver.Query(ms.GetBuffer(), (int) ms.Length);
            buffers.RemoveAt(0);
            return true;
        }
Esempio n. 2
0
        public virtual bool ExecuteNext()
        {
            if (buffers.Count == 0)
            {
                return(false);
            }

            MemoryStream ms = (MemoryStream)buffers[0];

            Driver.Query(ms.GetBuffer(), (int)ms.Length);
            buffers.RemoveAt(0);
            return(true);
        }