/// <summary>
        /// Return all rows from the memari table
        /// </summary>
        /// <param name="dataSetFill">The DataSet to return the rows into</param>
        /// <returns>The number of rows added to the DataSet</returns>
        public virtual int GetAll(memariDataSet dataSetFill)
        {
            m_memariAdapter.UseConnectionAndTransaction(DbConnection);

            return m_memariAdapter.Fill(dataSetFill);
        }
        /// <summary>
        /// Return all rows from the memari table by Primary Key
        /// </summary>
        /// <param name="dataSetFill">The DataSet to return the rows into</param>
        /// <param name="MemariID">The MemariID to use as search criteria</param>
        /// <returns>The number of rows added to the DataSet</returns>
        public virtual int GetByMemariID(memariDataSet dataSetFill, Int32 MemariID)
        {
            m_memariAdapter.UseConnectionAndTransaction(DbConnection);

            return m_memariAdapter.FillByMemariID(dataSetFill, MemariID);
        }
        /// <summary>
        /// Perform any inserts, updates or deletes on the DataSet
        /// </summary>
        /// <param name="dataSetUpdate">The DataSet to update</param>
        /// <returns>The number of rows updated</returns>
        public virtual int UpdateDataSet(memariDataSet dataSetUpdate)
        {
            m_memariAdapter.UseConnectionAndTransaction(DbConnection);

            return m_memariAdapter.Update(dataSetUpdate);
        }