当前位置: 首页>>代码示例>>C#>>正文


C# SqlServerUtility.ExecuteSP方法代码示例

本文整理汇总了C#中CY.Utility.DBUtility.SqlServerUtility.ExecuteSP方法的典型用法代码示例。如果您正苦于以下问题:C# SqlServerUtility.ExecuteSP方法的具体用法?C# SqlServerUtility.ExecuteSP怎么用?C# SqlServerUtility.ExecuteSP使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CY.Utility.DBUtility.SqlServerUtility的用法示例。


在下文中一共展示了SqlServerUtility.ExecuteSP方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Delete

        public void Delete(Core.Business.SurveyTable surveyTable)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, surveyTable.Id);
            sql.ExecuteSP("usp_DeleteSurveyTable");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:SurveyTableProvider.cs

示例2: Delete

        public void Delete(Core.Business.ObjectStimulatedType objectStimulatedType)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, objectStimulatedType.Id);
            sql.ExecuteSP("usp_DeleteObjectStimulatedType");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:ObjectStimulatedTypeProvider.cs

示例3: Delete

        public void Delete(Core.Business.InstrumentPictureRepository instrumentPictureRepository)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, instrumentPictureRepository.Id);
            sql.ExecuteSP("usp_DeleteInstrumentPictureRepository");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:InstrumentPictureRepositoryProvider.cs

示例4: Delete

        public void Delete(Core.Business.JointReviewSecondAudit jointReviewSecondAudit)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, jointReviewSecondAudit.Id);
            sql.ExecuteSP("usp_DeleteJointReviewSecondAudit");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:JointReviewSecondAuditProvider.cs

示例5: Delete

        public void Delete(Core.Business.SysSetting sysSetting)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, sysSetting.Id);
            sql.ExecuteSP("usp_DeleteSysSetting");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:SysSettingProvider.cs

示例6: Delete

        public void Delete(Core.Business.Province province)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, province.Id);
            sql.ExecuteSP("usp_DeleteProvince");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:ProvinceProvider.cs

示例7: Delete

        public void Delete(Core.Business.VirtualLabDataBigClass virtualLabDataBigClass)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@ID", SqlDbType.UniqueIdentifier, virtualLabDataBigClass.Id);
            sql.ExecuteSP("usp_DeleteVirtualLabDataBigClass");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:VirtualLabDataBigClassProvider.cs

示例8: Delete

        public void Delete(Core.Business.PictureExtend pictureExtend)
        {
            SqlServerUtility sql = new SqlServerUtility(connectionString);

            sql.AddParameter("@Id", SqlDbType.BigInt, pictureExtend.Id);
            sql.ExecuteSP("USP_PictureExtend_Delete_By_Id");
        }
开发者ID:dalinhuang,项目名称:ume-v3,代码行数:7,代码来源:PictureExtendProvider.cs

示例9: Delete

        public void Delete(Core.Business.INSTRATTACHMENT iNSTRATTACHMENT)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, iNSTRATTACHMENT.Id);
            sql.ExecuteSP("usp_DeleteINSTRATTACHMENT");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:INSTRATTACHMENTProvider.cs

示例10: Delete

        public void Delete(Core.Business.UserEducation userEducation)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@EducationID", SqlDbType.UniqueIdentifier, userEducation.Id);
            sql.ExecuteSP("usp_DeleteUserEducation");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:UserEducationProvider.cs

示例11: Delete

        public void Delete(Core.Business.Role role)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@RoleId", SqlDbType.Int, role.Id);
            sql.ExecuteSP("usp_DeleteRole");
        }
开发者ID:dalinhuang,项目名称:jxt-zhichengxinda,代码行数:7,代码来源:RoleProvider.cs

示例12: Delete

        public void Delete(Core.Business.AdvancedPage advancedPage)
        {
            SqlServerUtility sql = new SqlServerUtility(connectionString);

            sql.AddParameter("@Id", SqlDbType.Int, advancedPage.Id);
            sql.ExecuteSP("USP_AdvancedPage_Delete_By_Id");
        }
开发者ID:dalinhuang,项目名称:ume-v3,代码行数:7,代码来源:AdvancedPageProvider.cs

示例13: Delete

        public void Delete(Core.Business.ExpertField expertField)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, expertField.Id);
            sql.ExecuteSP("usp_DeleteExpertField");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:ExpertFieldProvider.cs

示例14: Delete

        public void Delete(Core.Business.StimulationAppliction stimulationAppliction)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@ID", SqlDbType.UniqueIdentifier, stimulationAppliction.Id);
            sql.ExecuteSP("usp_DeleteStimulationAppliction");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:StimulationApplictionProvider.cs

示例15: Delete

        public void Delete(Core.Business.STATUSMESSAGECODE sTATUSMESSAGECODE)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, sTATUSMESSAGECODE.Id);
            sql.ExecuteSP("usp_DeleteSTATUSMESSAGECODE");
        }
开发者ID:dalinhuang,项目名称:cy-csts,代码行数:7,代码来源:STATUSMESSAGECODEProvider.cs


注:本文中的CY.Utility.DBUtility.SqlServerUtility.ExecuteSP方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。