/// <summary>
        /// Public interface to insert the contents of the resultset into
        /// the database.  This method needs to be overridden from ResultSetDao.
        /// </summary>
        /// <param name="rs">The resultset ot type T</param>
        /// <returns>Whether or not the operation succeeded</returns>
        public override bool InsertResultSet(T rs)
        {
            bool retVal = false;

            MediaViewConfigResultSet mvrs = rs as MediaViewConfigResultSet;

            if (mvrs != null)
            {
                retVal = InvokeAndInsert(typeof(MediaViewConfigResultSet), new Object[] { mvrs.VlcPath });
            }
            return(retVal);
        }
        /// <summary>
        /// Create a resultset of type T, fill it and return it to the caller.  It
        /// is assumed the given DataRow type is associated with the type T.  This
        /// method needs to be overridden from ResultSetDao.
        /// </summary>
        /// <param name="data">The row of data</param>
        /// <returns>The resultset of type T</returns>
        public override T GetResultSetFromDataRow(DataRow row)
        {
            MediaViewConfigResultSet rs = new MediaViewConfigResultSet();

            try
            {
                rs.VlcPath = row.ItemArray[0].ToString();
            }
            catch (InvalidCastException)
            {
            }
            return(rs as T);
        }
 /// <summary>
 /// Constructor -- copy
 /// </summary>
 /// <param name="rsIn">The resultset to copy</param>
 public MediaViewConfigResultSet(MediaViewConfigResultSet rsIn)
 {
     VlcPath   = rsIn.VlcPath;
     TableName = "MediaViewConfig";
 }