public void Delete(Core.Business.VoteAnswerTemplate voteAnswerTemplate) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Key", SqlDbType.Int, voteAnswerTemplate.Id); sql.ExecuteSql(SqlDeleteVoteAnswerTemplate); }
public void Delete(Core.Business.ControlPermissions2 controlPermissions2) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, controlPermissions2.Id); sql.ExecuteSql(SqlDeleteControlPermissions2); }
public void Delete(Core.Business.TRGroup tRGroup) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, tRGroup.Id); sql.ExecuteSql(SqlDeleteTRGroup); }
public void Delete(Core.Business.PlanCourse planCourse) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, planCourse.Id); sql.ExecuteSql(SqlDeletePlanCourse); }
public void DeleteByVoteRecordID(int VoteRecordID) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Key", SqlDbType.Int, VoteRecordID); sql.ExecuteSql("DELETE [UserAnswer] WHERE [VoteRecordID]=@VoteRecordID"); }
public void Delete(Core.Business.VoteRole voteRole) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@ID", SqlDbType.Int, voteRole.Id); sql.ExecuteSql(SqlDeleteVoteRole); }
public void Delete(Core.Business.DeviceInfo deviceInfo) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, deviceInfo.Id); sql.ExecuteSql(SqlDeleteDeviceInfo); }
public void Delete(Core.Business.Semester semester) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, semester.Id); sql.ExecuteSql(SqlDeleteSemester); }
public void Delete(Core.Business.AccidentRcd accidentRcd) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, accidentRcd.Id); sql.ExecuteSql(SqlDeleteAccidentRcd); }
public void Delete(Core.Business.PracticeRcd practiceRcd) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, practiceRcd.Id); sql.ExecuteSql(SqlDeletePracticeRcd); }
public void Delete(Core.Business.JuryArrange juryArrange) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, juryArrange.Id); sql.ExecuteSql(SqlDeleteJuryArrange); }
public void Delete(Core.Business.VoteRecordDetail voteRecordDetail) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@VoteRecordDetailID", SqlDbType.Int, voteRecordDetail.Id); sql.ExecuteSql(SqlDeleteVoteRecordDetail); }
public void Delete(Core.Business.CurriculmArrange curriculmArrange) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, curriculmArrange.Id); sql.ExecuteSql(SqlDeleteCurriculmArrange); }
public void Delete(Core.Business.TeachReachRcd teachReachRcd) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, teachReachRcd.Id); sql.ExecuteSql(SqlDeleteTeachReachRcd); }
public void Delete(Core.Business.VoteItem voteItem) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Key", SqlDbType.Int, voteItem.Id); sql.ExecuteSql(SqlDeleteVoteItem); }
public void Delete(Core.Business.ScoreInPratise scoreInPratise) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, scoreInPratise.Id); sql.ExecuteSql(SqlDeleteScoreInPratise); }
public void Delete(Core.Business.ObserveTotal observeTotal) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, observeTotal.Id); sql.ExecuteSql(SqlDeleteObserveTotal); }
public void Delete(Core.Business.TrainProject trainProject) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, trainProject.Id); sql.ExecuteSql(SqlDeleteTrainProject); }
public void DeleteVoteRoleByVoteId(int voteId) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@VoteID", SqlDbType.Int, voteId); sql.ExecuteSql(SqlDeleteVoteRoleByVoteId); }
public void Delete(Core.Business.ISOItem iSOItem) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, iSOItem.Id); sql.ExecuteSql(SqlDeleteISOItem); }
public void Delete(Core.Business.TeacherProjectItem teacherProjectItem) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, teacherProjectItem.Id); sql.ExecuteSql(SqlDeleteTeacherProjectItem); }
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); }
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); }
public void Delete(Core.Business.Asset asset) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, asset.Id); sql.ExecuteSql(SqlDeleteAsset); }
public void Delete(Core.Business.City city) { SqlServerUtility sql = new SqlServerUtility(SqlConnection); sql.AddParameter("@Id", SqlDbType.Int, city.Id); sql.ExecuteSql(SqlDeleteCity); }
public void Delete(Core.Business.Messages messages) { SqlServerUtility sql = new SqlServerUtility(connectionString); sql.AddParameter("@Id", SqlDbType.BigInt, messages.Id); sql.ExecuteSql(SqlDeleteMessages); }
public void Delete(Core.Business.Meterial meterial) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, meterial.Id); sql.ExecuteSql(SqlDeleteMeterial); }
public void Delete(Core.Business.StudentPass studentPass) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@ID", SqlDbType.Int, studentPass.Id); sql.ExecuteSql(SqlDeleteStudentPass); }
public void Delete(Core.Business.AidedEmployee aidedEmployee) { SqlServerUtility sql = new SqlServerUtility(); sql.AddParameter("@Id", SqlDbType.Int, aidedEmployee.Id); sql.ExecuteSql(SqlDeleteAidedEmployee); }