/// <summary> /// 寻找所有的Completed和Incompleted的case /// </summary> /// <returns></returns> private List <Record> FindSourceCompletedAndIncompletedRecords() { List <Record> records = null; try { OleDbConnection con = recordDao.Begin(); records = recordDao.FindRecordsCompletedAndIncompleted(con); recordDao.Commit(); return(records); } catch (Exception) { recordDao.RollBack(); throw; } finally { recordDao.Close(); } }