亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sqldataprovider.cs

?? BugNET is an issue tracking and project issue management solution built using the ASP.NET web applic
?? CS
?? 第 1 頁 / 共 5 頁
字號:
            SqlCommand sqlCmd = new SqlCommand();
            AddParamToSQLCmd(sqlCmd, "@IssueId", SqlDbType.Int, 0, ParameterDirection.Input, issueId);
            AddParamToSQLCmd(sqlCmd, "@RelationType", SqlDbType.Int, 0, ParameterDirection.Input, IssueRelationType.ParentChild);
            SetCommandType(sqlCmd, CommandType.StoredProcedure, SP_RELATEDISSUE_GETCHILDISSUES);

            List<RelatedIssue> relatedIssueList = new List<RelatedIssue>();
            TExecuteReaderCmd<RelatedIssue>(sqlCmd, TGenerateRelatedIssueListFromReader<RelatedIssue>, ref relatedIssueList);

            return relatedIssueList;
        }

        /// <summary>
        /// Gets the parent issues.
        /// </summary>
        /// <param name="issueId">The issue id.</param>
        /// <returns></returns>
        public override System.Collections.Generic.List<BugNET.BusinessLogicLayer.RelatedIssue> GetParentIssues(int issueId)
        {
            if (issueId <= 0)
                throw (new ArgumentOutOfRangeException("issueId"));

            SqlCommand sqlCmd = new SqlCommand();
            AddParamToSQLCmd(sqlCmd, "@IssueId", SqlDbType.Int, 0, ParameterDirection.Input, issueId);
            AddParamToSQLCmd(sqlCmd, "@RelationType", SqlDbType.Int, 0, ParameterDirection.Input, IssueRelationType.ParentChild);
            SetCommandType(sqlCmd, CommandType.StoredProcedure, SP_RELATEDISSUE_GETPARENTISSUES);

            List<RelatedIssue> relatedIssueList = new List<RelatedIssue>();
            TExecuteReaderCmd<RelatedIssue>(sqlCmd, TGenerateRelatedIssueListFromReader<RelatedIssue>, ref relatedIssueList);

            return relatedIssueList;
        }

        /// <summary>
        /// Gets the related issues.
        /// </summary>
        /// <param name="IssueId">The issue id.</param>
        /// <returns></returns>
        public override System.Collections.Generic.List<BugNET.BusinessLogicLayer.RelatedIssue> GetRelatedIssues(int issueId)
        {
            if (issueId <= 0)
                throw (new ArgumentOutOfRangeException("issueId"));

            try
            {
                SqlCommand sqlCmd = new SqlCommand();
                AddParamToSQLCmd(sqlCmd, "@IssueId", SqlDbType.Int, 0, ParameterDirection.Input, issueId);
                AddParamToSQLCmd(sqlCmd, "@RelationType", SqlDbType.Int, 0, ParameterDirection.Input, IssueRelationType.Related);
                SetCommandType(sqlCmd, CommandType.StoredProcedure, SP_RELATEDISSUE_GETRELATEDISSUES);

                List<RelatedIssue> relatedIssueList = new List<RelatedIssue>();
                TExecuteReaderCmd<RelatedIssue>(sqlCmd, TGenerateRelatedIssueListFromReader<RelatedIssue>, ref relatedIssueList);

                return relatedIssueList;
            }
            catch (Exception ex)
            {
                throw ProcessException(ex);
            }
        }

        /// <summary>
        /// Creates the new child issue.
        /// </summary>
        /// <param name="primaryIssueId">The primary issue id.</param>
        /// <param name="secondaryIssueId">The secondary issue id.</param>
        /// <returns></returns>
        public override int CreateNewChildIssue(int primaryIssueId, int secondaryIssueId)
        {
            // Validate Parameters
            if (primaryIssueId <= Globals.NewId)
                throw (new ArgumentOutOfRangeException("primaryIssueId"));
            if (secondaryIssueId <= Globals.NewId)
                throw (new ArgumentOutOfRangeException("secondaryIssueId"));

            try
            {
                // Execute SQL Command
                SqlCommand sqlCmd = new SqlCommand();

                AddParamToSQLCmd(sqlCmd, "@ReturnValue", SqlDbType.Int, 0, ParameterDirection.ReturnValue, null);
                AddParamToSQLCmd(sqlCmd, "@PrimaryIssueId", SqlDbType.Int, 0, ParameterDirection.Input, primaryIssueId);
                AddParamToSQLCmd(sqlCmd, "@SecondaryIssueId", SqlDbType.Int, 0, ParameterDirection.Input, secondaryIssueId);
                AddParamToSQLCmd(sqlCmd, "@RelationType", SqlDbType.Int, 0, ParameterDirection.Input, IssueRelationType.ParentChild);

                SetCommandType(sqlCmd, CommandType.StoredProcedure, SP_RELATEDISSUE_CREATENEWCHILDISSUE);
                ExecuteScalarCmd(sqlCmd);
                return ((int)sqlCmd.Parameters["@ReturnValue"].Value);
            }
            catch (Exception ex)
            {
                throw ProcessException(ex);
            }
        }

        /// <summary>
        /// Deletes the child issue.
        /// </summary>
        /// <param name="primaryIssueId">The primary issue id.</param>
        /// <param name="secondaryIssueId">The secondary issue id.</param>
        /// <returns></returns>
        public override bool DeleteChildIssue(int primaryIssueId, int secondaryIssueId)
        {
            // Validate Parameters
            if (primaryIssueId <= Globals.NewId)
                throw (new ArgumentOutOfRangeException("primaryIssueId"));
            if (secondaryIssueId <= Globals.NewId)
                throw (new ArgumentOutOfRangeException("secondaryIssueId"));

            try
            {
                // Execute SQL Command
                SqlCommand sqlCmd = new SqlCommand();

                AddParamToSQLCmd(sqlCmd, "@ReturnValue", SqlDbType.Int, 0, ParameterDirection.ReturnValue, null);
                AddParamToSQLCmd(sqlCmd, "@PrimaryIssueId", SqlDbType.Int, 0, ParameterDirection.Input, primaryIssueId);
                AddParamToSQLCmd(sqlCmd, "@SecondaryIssueId", SqlDbType.Int, 0, ParameterDirection.Input, secondaryIssueId);
                AddParamToSQLCmd(sqlCmd, "@RelationType", SqlDbType.Int, 0, ParameterDirection.Input, IssueRelationType.ParentChild);

                SetCommandType(sqlCmd, CommandType.StoredProcedure, SP_RELATEDISSUE_DELETECHILDISSUE);
                ExecuteScalarCmd(sqlCmd);
                int returnValue = (int)sqlCmd.Parameters["@ReturnValue"].Value;
                return (returnValue == 0 ? true : false);
            }
            catch (Exception ex)
            {
                throw ProcessException(ex);
            }
        }

        /// <summary>
        /// Creates the new parent issue.
        /// </summary>
        /// <param name="primaryIssueId">The primary issue id.</param>
        /// <param name="secondaryIssueId">The secondary issue id.</param>
        /// <returns></returns>
        public override int CreateNewParentIssue(int primaryIssueId, int secondaryIssueId)
        {
            // Validate Parameters
            if (primaryIssueId <= Globals.NewId)
                throw (new ArgumentOutOfRangeException("primaryIssueId"));
            if (secondaryIssueId <= Globals.NewId)
                throw (new ArgumentOutOfRangeException("secondaryIssueId"));

            try
            {
                // Execute SQL Command
                SqlCommand sqlCmd = new SqlCommand();

                AddParamToSQLCmd(sqlCmd, "@ReturnValue", SqlDbType.Int, 0, ParameterDirection.ReturnValue, null);
                AddParamToSQLCmd(sqlCmd, "@PrimaryIssueId", SqlDbType.Int, 0, ParameterDirection.Input, primaryIssueId);
                AddParamToSQLCmd(sqlCmd, "@SecondaryIssueId", SqlDbType.Int, 0, ParameterDirection.Input, secondaryIssueId);
                AddParamToSQLCmd(sqlCmd, "@RelationType", SqlDbType.Int, 0, ParameterDirection.Input, IssueRelationType.ParentChild);

                SetCommandType(sqlCmd, CommandType.StoredProcedure, SP_RELATEDISSUE_CREATENEWPARENTISSUE);
                ExecuteScalarCmd(sqlCmd);
                return ((int)sqlCmd.Parameters["@ReturnValue"].Value);
            }
            catch (Exception ex)
            {
                throw ProcessException(ex);
            }
        }

        /// <summary>
        /// Deletes the parent issue.
        /// </summary>
        /// <param name="primaryIssueId">The primary issue id.</param>
        /// <param name="secondaryIssueId">The secondary issue id.</param>
        /// <returns></returns>
        public override bool DeleteParentIssue(int primaryIssueId, int secondaryIssueId)
        {
            // Validate Parameters
            if (primaryIssueId <= Globals.NewId)
                throw (new ArgumentOutOfRangeException("primaryIssueId"));
            if (secondaryIssueId <= Globals.NewId)
                throw (new ArgumentOutOfRangeException("secondaryIssueId"));

            try
            {
                // Execute SQL Command
                SqlCommand sqlCmd = new SqlCommand();

                AddParamToSQLCmd(sqlCmd, "@ReturnValue", SqlDbType.Int, 0, ParameterDirection.ReturnValue, null);
                AddParamToSQLCmd(sqlCmd, "@PrimaryIssueId", SqlDbType.Int, 0, ParameterDirection.Input, primaryIssueId);
                AddParamToSQLCmd(sqlCmd, "@SecondaryIssueId", SqlDbType.Int, 0, ParameterDirection.Input, secondaryIssueId);
                AddParamToSQLCmd(sqlCmd, "@RelationType", SqlDbType.Int, 0, ParameterDirection.Input, IssueRelationType.ParentChild);

                SetCommandType(sqlCmd, CommandType.StoredProcedure, SP_RELATEDISSUE_DELETEPARENTISSUE);
                ExecuteScalarCmd(sqlCmd);
                int returnValue = (int)sqlCmd.Parameters["@ReturnValue"].Value;
                return (returnValue == 0 ? true : false);
            }
            catch (Exception ex)
            {
                throw ProcessException(ex);
            }
        }

        /// <summary>
        /// Creates the new related issue.
        /// </summary>
        /// <param name="primaryIssueId">The primary issue id.</param>
        /// <param name="secondaryIssueId">The secondary issue id.</param>
        /// <returns></returns>
        public override int CreateNewRelatedIssue(int primaryIssueId, int secondaryIssueId)
        {
            // Validate Parameters
            if (primaryIssueId <= Globals.NewId)
                throw (new ArgumentOutOfRangeException("primaryIssueId"));
            if (secondaryIssueId <= Globals.NewId)
                throw (new ArgumentOutOfRangeException("secondaryIssueId"));

            try
            {
                // Execute SQL Command
                SqlCommand sqlCmd = new SqlCommand();

                AddParamToSQLCmd(sqlCmd, "@ReturnValue", SqlDbType.Int, 0, ParameterDirection.ReturnValue, null);
                AddParamToSQLCmd(sqlCmd, "@PrimaryIssueId", SqlDbType.Int, 0, ParameterDirection.Input, primaryIssueId);
                AddParamToSQLCmd(sqlCmd, "@SecondaryIssueId", SqlDbType.Int, 0, ParameterDirection.Input, secondaryIssueId);
                AddParamToSQLCmd(sqlCmd, "@RelationType", SqlDbType.Int, 0, ParameterDirection.Input, IssueRelationType.Related);

                SetCommandType(sqlCmd, CommandType.StoredProcedure, SP_RELATEDISSUE_CREATENEWRELATEDISSUE);
                ExecuteScalarCmd(sqlCmd);
                return ((int)sqlCmd.Parameters["@ReturnValue"].Value);
            }
            catch (Exception ex)
            {
                throw ProcessException(ex);
            }
        }

        /// <summary>
        /// Deletes the related issue.
        /// </summary>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美v日韩v国产v| 美美哒免费高清在线观看视频一区二区 | 中文字幕在线一区| 欧美亚洲国产bt| 精品999久久久| 亚洲免费视频成人| 国产麻豆成人精品| 久久夜色精品国产噜噜av| 亚洲男人的天堂在线aⅴ视频| 亚洲视频一二区| 亚洲国产精品二十页| 图片区小说区区亚洲影院| 国产一区二区三区在线观看精品| 成人av资源在线| 国产91丝袜在线18| 国产一区二区在线免费观看| 亚洲在线中文字幕| 国产精品天天摸av网| 国产日韩欧美激情| 亚洲另类春色国产| 成人av手机在线观看| 中文字幕一区二区三区四区不卡 | 亚洲一二三级电影| 成人性生交大片免费看视频在线 | 精品一二线国产| 国产精品美女久久久久高潮| 欧美精品乱人伦久久久久久| 一本大道综合伊人精品热热| 国产一区二区伦理| 视频一区二区三区中文字幕| 亚洲视频你懂的| 中文字幕在线不卡| 久久男人中文字幕资源站| 欧美亚洲国产一区在线观看网站| 国产一区视频在线看| 日韩国产精品久久久| 亚洲国产精品久久久男人的天堂| 中文字幕不卡在线观看| 久久久亚洲欧洲日产国码αv| 日韩欧美电影在线| 777亚洲妇女| 91成人在线观看喷潮| 91精彩视频在线| 91在线免费看| 成人黄色免费短视频| 床上的激情91.| 成人污视频在线观看| 国产精品69久久久久水密桃| 日韩av一区二区在线影视| 免费高清视频精品| 日韩精品一区第一页| 午夜精品福利在线| 免费观看30秒视频久久| 美美哒免费高清在线观看视频一区二区| 亚洲午夜一二三区视频| 亚洲欧洲国产日本综合| 一区二区高清视频在线观看| 亚洲精品国产品国语在线app| 欧美经典一区二区| 亚洲日本一区二区三区| 亚洲激情五月婷婷| 亚洲自拍另类综合| 一区二区三区四区激情| 五月天激情综合网| 免费成人深夜小野草| 久久成人久久爱| 成人动漫一区二区| 色视频一区二区| 欧洲国内综合视频| 日韩精品中文字幕一区| 日韩一区二区三区精品视频| 精品sm捆绑视频| 日韩精品一区二区三区中文不卡| 久久精品免视看| 国产精品免费视频网站| 亚洲欧美日韩综合aⅴ视频| 午夜私人影院久久久久| 六月丁香综合在线视频| 国产综合久久久久久久久久久久 | 国产成人精品免费在线| 成人性生交大片免费看中文| 成人激情图片网| 91福利国产精品| 色天天综合久久久久综合片| 欧美日韩国产成人在线91| 在线一区二区观看| 91 com成人网| 欧美国产一区视频在线观看| 午夜精品一区二区三区三上悠亚 | 久久不见久久见免费视频7| 国产一区欧美一区| 在线观看视频一区二区| 欧美成人一区二区三区在线观看| 久久久一区二区三区捆绑**| 亚洲观看高清完整版在线观看| 男男成人高潮片免费网站| 福利电影一区二区| 欧美一区二区久久| 国产精品蜜臀在线观看| 日韩精品国产精品| 色综合 综合色| 亚洲精品一区在线观看| 亚洲激情五月婷婷| 成人永久免费视频| 欧美日韩不卡一区| 国产精品麻豆欧美日韩ww| 精品影视av免费| 在线观看视频欧美| 欧美国产国产综合| 精品在线你懂的| 欧美视频你懂的| 国产精品视频一区二区三区不卡| 青青青伊人色综合久久| 91亚洲午夜精品久久久久久| 日韩欧美国产一区二区在线播放| 亚洲欧美日韩电影| 国产成人在线影院| 777亚洲妇女| 日韩欧美一卡二卡| 天天综合天天做天天综合| 91麻豆视频网站| 日韩视频一区二区三区在线播放| 亚洲一区在线看| 成人午夜碰碰视频| 欧美福利视频导航| 午夜日韩在线观看| 91视频91自| 久久精品一区八戒影视| 久久99久久99精品免视看婷婷| 欧美美女黄视频| 伊人色综合久久天天人手人婷| 91啪亚洲精品| 中文字幕一区三区| 成人性色生活片| 欧美激情一区二区三区| 韩国成人精品a∨在线观看| 欧美日本视频在线| 免费成人小视频| 7777精品伊人久久久大香线蕉完整版 | 亚洲制服丝袜一区| 欧美三级中文字幕| 一区二区欧美精品| 在线免费观看日本一区| 亚洲图片有声小说| 欧美视频一区二区三区在线观看 | 国产欧美日韩在线看| 麻豆国产一区二区| 日韩一区二区三区观看| 蜜臀久久99精品久久久画质超高清| 51精品国自产在线| 久久国产福利国产秒拍| 久久九九国产精品| 一本色道综合亚洲| 亚洲国产成人av好男人在线观看| 9191成人精品久久| 久久国产剧场电影| 国产精品灌醉下药二区| 欧洲亚洲精品在线| 精品一区二区久久| 国产精品久久久久久久久果冻传媒| 91污在线观看| 天堂一区二区在线| 欧美精品一区二区久久婷婷| 国产成人免费视频网站高清观看视频 | 99re热这里只有精品视频| 亚洲老司机在线| 日韩一区二区免费电影| 国产黑丝在线一区二区三区| 一区免费观看视频| 欧美久久高跟鞋激| 国产精一区二区三区| 亚洲免费观看高清完整版在线观看熊 | 亚洲第一av色| 久久女同性恋中文字幕| 日本高清无吗v一区| 激情欧美一区二区| 一区二区三区精品久久久| 日韩欧美视频在线| 91一区二区三区在线观看| 午夜电影一区二区| 国产精品视频九色porn| 欧美人牲a欧美精品| 成人av电影观看| 久久国产综合精品| 亚洲一区在线观看免费观看电影高清 | 国产精品剧情在线亚洲| 91精品国产综合久久久久久漫画| 国产精品自拍三区| 五月婷婷欧美视频| 亚洲欧洲性图库| 精品国产一区久久| 欧美视频你懂的| av亚洲产国偷v产偷v自拍| 美腿丝袜亚洲三区| 一区二区三区四区不卡在线| 国产偷国产偷精品高清尤物| 欧美高清精品3d| 色老综合老女人久久久| 成人黄色在线视频| 国产一区欧美日韩|