public bool update(SqlConnection cn, SqlTransaction tc, StudentLeaveRecordModel model)
 {
     return DbHelperSQL.updateModel<StudentLeaveRecordModel>(model, "StudentLeaveRecord", "Evenid", model.Evenid.ToString(), "'", cn, tc);
 }
 public bool add(SqlConnection cn, SqlTransaction tc, StudentLeaveRecordModel model)
 {
     return DbHelperSQL.insertModel<StudentLeaveRecordModel>(model, "StudentLeaveRecord", cn, tc);
 }