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

            sql.AddParameter("@Key", SqlDbType.Int, voteAnswerTemplate.Id);
            sql.ExecuteSql(SqlDeleteVoteAnswerTemplate);
        }
示例#2
0
        public void Delete(Core.Business.ControlPermissions2 controlPermissions2)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, controlPermissions2.Id);
            sql.ExecuteSql(SqlDeleteControlPermissions2);
        }
示例#3
0
        public void Delete(Core.Business.TRGroup tRGroup)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, tRGroup.Id);
            sql.ExecuteSql(SqlDeleteTRGroup);
        }
示例#4
0
        public void Delete(Core.Business.PlanCourse planCourse)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, planCourse.Id);
            sql.ExecuteSql(SqlDeletePlanCourse);
        }
示例#5
0
        public void DeleteByVoteRecordID(int VoteRecordID)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Key", SqlDbType.Int, VoteRecordID);
            sql.ExecuteSql("DELETE [UserAnswer] WHERE  [VoteRecordID]=@VoteRecordID");
        }
示例#6
0
        public void Delete(Core.Business.VoteRole voteRole)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@ID", SqlDbType.Int, voteRole.Id);
            sql.ExecuteSql(SqlDeleteVoteRole);
        }
示例#7
0
        public void Delete(Core.Business.DeviceInfo deviceInfo)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, deviceInfo.Id);
            sql.ExecuteSql(SqlDeleteDeviceInfo);
        }
示例#8
0
        public void Delete(Core.Business.Semester semester)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, semester.Id);
            sql.ExecuteSql(SqlDeleteSemester);
        }
示例#9
0
        public void Delete(Core.Business.AccidentRcd accidentRcd)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, accidentRcd.Id);
            sql.ExecuteSql(SqlDeleteAccidentRcd);
        }
示例#10
0
        public void Delete(Core.Business.PracticeRcd practiceRcd)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, practiceRcd.Id);
            sql.ExecuteSql(SqlDeletePracticeRcd);
        }
示例#11
0
        public void Delete(Core.Business.JuryArrange juryArrange)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, juryArrange.Id);
            sql.ExecuteSql(SqlDeleteJuryArrange);
        }
示例#12
0
        public void Delete(Core.Business.VoteRecordDetail voteRecordDetail)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@VoteRecordDetailID", SqlDbType.Int, voteRecordDetail.Id);
            sql.ExecuteSql(SqlDeleteVoteRecordDetail);
        }
示例#13
0
        public void Delete(Core.Business.CurriculmArrange curriculmArrange)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, curriculmArrange.Id);
            sql.ExecuteSql(SqlDeleteCurriculmArrange);
        }
示例#14
0
        public void Delete(Core.Business.TeachReachRcd teachReachRcd)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, teachReachRcd.Id);
            sql.ExecuteSql(SqlDeleteTeachReachRcd);
        }
示例#15
0
        public void Delete(Core.Business.VoteItem voteItem)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Key", SqlDbType.Int, voteItem.Id);
            sql.ExecuteSql(SqlDeleteVoteItem);
        }
示例#16
0
        public void Delete(Core.Business.ScoreInPratise scoreInPratise)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, scoreInPratise.Id);
            sql.ExecuteSql(SqlDeleteScoreInPratise);
        }
示例#17
0
        public void Delete(Core.Business.ObserveTotal observeTotal)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, observeTotal.Id);
            sql.ExecuteSql(SqlDeleteObserveTotal);
        }
示例#18
0
        public void Delete(Core.Business.TrainProject trainProject)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, trainProject.Id);
            sql.ExecuteSql(SqlDeleteTrainProject);
        }
示例#19
0
        public void DeleteVoteRoleByVoteId(int voteId)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@VoteID", SqlDbType.Int, voteId);
            sql.ExecuteSql(SqlDeleteVoteRoleByVoteId);
        }
示例#20
0
        public void Delete(Core.Business.ISOItem iSOItem)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, iSOItem.Id);
            sql.ExecuteSql(SqlDeleteISOItem);
        }
示例#21
0
        public void Delete(Core.Business.TeacherProjectItem teacherProjectItem)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, teacherProjectItem.Id);
            sql.ExecuteSql(SqlDeleteTeacherProjectItem);
        }
示例#22
0
        public void Delete(Core.Business.Web_Log web_Log)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Log_ID", SqlDbType.Int, web_Log.Id);
            sql.ExecuteSql(SqlDeleteWeb_Log);
        }
示例#23
0
        public void Delete(Core.Business.UserAnswer userAnswer)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Key", SqlDbType.Int, userAnswer.Id);
            sql.ExecuteSql(SqlDeleteUserAnswer);
        }
        public void Delete(Core.Business.AccountRecommend accountRecommend)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.BigInt, accountRecommend.Id);
            sql.ExecuteSql(SqlDeleteAccountRecommend);
        }
示例#25
0
        public void Delete(Core.Business.Asset asset)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, asset.Id);
            sql.ExecuteSql(SqlDeleteAsset);
        }
示例#26
0
        public void Delete(Core.Business.City city)
        {
            SqlServerUtility sql = new SqlServerUtility(SqlConnection);

            sql.AddParameter("@Id", SqlDbType.Int, city.Id);
            sql.ExecuteSql(SqlDeleteCity);
        }
示例#27
0
        public void Delete(Core.Business.Messages messages)
        {
            SqlServerUtility sql = new SqlServerUtility(connectionString);

            sql.AddParameter("@Id", SqlDbType.BigInt, messages.Id);
            sql.ExecuteSql(SqlDeleteMessages);
        }
示例#28
0
        public void Delete(Core.Business.Meterial meterial)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, meterial.Id);
            sql.ExecuteSql(SqlDeleteMeterial);
        }
示例#29
0
        public void Delete(Core.Business.StudentPass studentPass)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@ID", SqlDbType.Int, studentPass.Id);
            sql.ExecuteSql(SqlDeleteStudentPass);
        }
示例#30
0
        public void Delete(Core.Business.AidedEmployee aidedEmployee)
        {
            SqlServerUtility sql = new SqlServerUtility();

            sql.AddParameter("@Id", SqlDbType.Int, aidedEmployee.Id);
            sql.ExecuteSql(SqlDeleteAidedEmployee);
        }