示例#1
0
        public void Delete(Core.Business.SurveyTable surveyTable)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, surveyTable.Id);
            sql.ExecuteSP("usp_DeleteSurveyTable");
        }
        public void Delete(Core.Business.ObjectStimulatedType objectStimulatedType)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, objectStimulatedType.Id);
            sql.ExecuteSP("usp_DeleteObjectStimulatedType");
        }
        public void Delete(Core.Business.InstrumentPictureRepository instrumentPictureRepository)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, instrumentPictureRepository.Id);
            sql.ExecuteSP("usp_DeleteInstrumentPictureRepository");
        }
        public void Delete(Core.Business.JointReviewSecondAudit jointReviewSecondAudit)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, jointReviewSecondAudit.Id);
            sql.ExecuteSP("usp_DeleteJointReviewSecondAudit");
        }
示例#5
0
        public void Delete(Core.Business.SysSetting sysSetting)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, sysSetting.Id);
            sql.ExecuteSP("usp_DeleteSysSetting");
        }
示例#6
0
        public void Delete(Core.Business.Province province)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, province.Id);
            sql.ExecuteSP("usp_DeleteProvince");
        }
        public void Delete(Core.Business.VirtualLabDataBigClass virtualLabDataBigClass)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@ID", SqlDbType.UniqueIdentifier, virtualLabDataBigClass.Id);
            sql.ExecuteSP("usp_DeleteVirtualLabDataBigClass");
        }
        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");
        }
示例#9
0
        public void Delete(Core.Business.Document document)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.BigInt, document.Id);
            sql.ExecuteSP("usp_DeleteDocument");
        }
        public void Delete(Core.Business.INSTRATTACHMENT iNSTRATTACHMENT)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, iNSTRATTACHMENT.Id);
            sql.ExecuteSP("usp_DeleteINSTRATTACHMENT");
        }
示例#11
0
        public void Delete(Core.Business.UserEducation userEducation)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@EducationID", SqlDbType.UniqueIdentifier, userEducation.Id);
            sql.ExecuteSP("usp_DeleteUserEducation");
        }
        public void Delete(Core.Business.Role role)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@RoleId", SqlDbType.Int, role.Id);
            sql.ExecuteSP("usp_DeleteRole");
        }
示例#13
0
        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");
        }
示例#14
0
        public void Delete(Core.Business.ExpertField expertField)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, expertField.Id);
            sql.ExecuteSP("usp_DeleteExpertField");
        }
        public void Delete(Core.Business.StimulationAppliction stimulationAppliction)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@ID", SqlDbType.UniqueIdentifier, stimulationAppliction.Id);
            sql.ExecuteSP("usp_DeleteStimulationAppliction");
        }
        public void Delete(Core.Business.STATUSMESSAGECODE sTATUSMESSAGECODE)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, sTATUSMESSAGECODE.Id);
            sql.ExecuteSP("usp_DeleteSTATUSMESSAGECODE");
        }
        public void Delete(Core.Business.CommissionedApplication commissionedApplication)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, commissionedApplication.Id);
            sql.ExecuteSP("usp_DeleteCommissionedApplication");
        }
示例#18
0
        public void Delete(Core.Business.NewsContent newsContent)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@ID", SqlDbType.UniqueIdentifier, newsContent.Id);
            sql.ExecuteSP("usp_DeleteNewsContent");
        }
示例#19
0
        public void Delete(Core.Business.DomainCode domainCode)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, domainCode.Id);
            sql.ExecuteSP("usp_DeleteDomainCode");
        }
示例#20
0
        public void Delete(Core.Business.WishingComment wishingComment)
        {
            SqlServerUtility sql = new SqlServerUtility(SqlConnection);

            sql.AddParameter("@Id", SqlDbType.BigInt, wishingComment.Id);
            sql.ExecuteSP("USP_WishingComment_Delete_By_Id");
        }
        public void Delete(Core.Business.SubCenterPluginList subCenterPluginList)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, subCenterPluginList.Id);
            sql.ExecuteSP("usp_DeleteSubCenterPluginList");
        }
示例#22
0
        public void Delete(Core.Business.NewsPhoto newsPhoto)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, newsPhoto.Id);
            sql.ExecuteSP("usp_DeleteNewsPhoto");
        }
示例#23
0
        public void Delete(Core.Business.Subsidies subsidies)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, subsidies.Id);
            sql.ExecuteSP("usp_DeleteSubsidy");
        }
        public void Delete(Core.Business.StimulationApplicationForSubCenterAndCollaborateUnit stimulationApplicationForSubCenterAndCollaborateUnit)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, stimulationApplicationForSubCenterAndCollaborateUnit.Id);
            sql.ExecuteSP("usp_DeleteStimulationApplicationForSubCenterAndCollaborateUnit");
        }
示例#25
0
        public void Delete(Core.Business.Annex annex)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@ID", SqlDbType.UniqueIdentifier, annex.Id);
            sql.ExecuteSP("usp_DeleteAnnex");
        }
示例#26
0
        public void Delete(Core.Business.Album album)
        {
            SqlServerUtility sql = new SqlServerUtility(connectionString);

            sql.AddParameter("@Id", SqlDbType.BigInt, album.Id);
            sql.ExecuteSP("USP_Album_Delete_By_Id");
        }
        public void Delete(Core.Business.MiniBlogComment miniBlogComment)
        {
            SqlServerUtility sql = new SqlServerUtility(connectionString);

            sql.AddParameter("@Id", SqlDbType.BigInt, miniBlogComment.Id);
            sql.ExecuteSP("USP_MiniBlogComment_Delete_By_Id");
        }
示例#28
0
        public void Delete(Core.Business.LinkClass linkClass)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, linkClass.Id);
            sql.ExecuteSP("usp_DeleteLinkClas");
        }
示例#29
0
        public void Delete(Core.Business.OperateSort operateSort)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, operateSort.Id);
            sql.ExecuteSP("usp_DeleteOperateSort");
        }
示例#30
0
        public void Delete(Core.Business.Blog blog)
        {
            SqlServerUtility sql = new SqlServerUtility(SqlConnection);

            sql.AddParameter("@Id", SqlDbType.BigInt, blog.Id);
            sql.ExecuteSP("USP_Blog_Delete_By_Id");
        }