Repository pattern & UnitOfWork pattern Repository.cs - 針對單一自訂物件操作CRUD用 RepositoryTransaction.cs - 針對多物件的CRUD控管交易機制(transaction)一致性用 測試與結果: Repository testing Insert Select and then Update Delete RepositoryTransaction testing Insert Select and then Update Delete