public void Test1()
 {
     using (var dao = new CustomerAgreementDao())
     {
         var list = dao.findToPrimaryKey("xxx", "yyy");
         foreach (CustomerAgreementVo vo in list)
         {
             Console.WriteLine(vo.companyCode);
         }
     }
 }
Пример #2
0
 public CustomerAgreementService()
 {
     this.customerAgreementDao = new CustomerAgreementDao();
 }