/// <summary>
        /// 获取产品列表
        /// </summary>
        /// <param name="activityID"></param>
        /// <returns></returns>
        public static IEnumerable <UserPermissionActivityProduct> GetActivityProductList(string activityID)
        {
            Guid guid;

            if (Guid.TryParse(activityID, out guid))
            {
                DataTable dt = DALUserPermission.GetActivityProductList(activityID);
                return(dt.Rows.Cast <DataRow>().Select(row => new UserPermissionActivityProduct(row)));
            }
            else
            {
                return(null);
            }
        }