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");
        }
Example #5
0
        public void Delete(Core.Business.SysSetting sysSetting)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, sysSetting.Id);
            sql.ExecuteSP("usp_DeleteSysSetting");
        }
Example #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");
        }
Example #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");
        }
        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");
        }
Example #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");
        }
Example #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");
        }
Example #18
0
        public void Delete(Core.Business.NewsContent newsContent)
        {
            SqlServerUtility sql = new SqlServerUtility();

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

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, domainCode.Id);
            sql.ExecuteSP("usp_DeleteDomainCode");
        }
        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");
        }
Example #22
0
        public void Delete(Core.Business.NewsPhoto newsPhoto)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, newsPhoto.Id);
            sql.ExecuteSP("usp_DeleteNewsPhoto");
        }
Example #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");
        }
Example #25
0
        public void Delete(Core.Business.Annex annex)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@ID", SqlDbType.UniqueIdentifier, annex.Id);
            sql.ExecuteSP("usp_DeleteAnnex");
        }
Example #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");
        }
Example #28
0
        public void Delete(Core.Business.LinkClass linkClass)
        {
            SqlServerUtility sql = new SqlServerUtility();

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

            sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, operateSort.Id);
            sql.ExecuteSP("usp_DeleteOperateSort");
        }
Example #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");
        }