Exemplo n.º 1
0
        public void Delete(Core.Business.VoteAnswerTemplate voteAnswerTemplate)
        {
            SqlServerUtility sql = new SqlServerUtility();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            sql.AddParameter("@Id", SqlDbType.Int, teacherProjectItem.Id);
            sql.ExecuteSql(SqlDeleteTeacherProjectItem);
        }
Exemplo n.º 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);
        }
Exemplo n.º 23
0
        public void Delete(Core.Business.UserAnswer userAnswer)
        {
            SqlServerUtility sql = new SqlServerUtility();

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

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

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

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

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

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

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

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