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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            sql.AddParameter("@Id", SqlDbType.Int, teacherProjectItem.Id);
            sql.ExecuteSql(SqlDeleteTeacherProjectItem);
        }
Example #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);
        }
Example #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);
        }
Example #25
0
        public void Delete(Core.Business.Asset asset)
        {
            SqlServerUtility sql = new SqlServerUtility();

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

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

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

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

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

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