Пример #1
0
 /// <summary>
 /// 为admin查改person信息提供的方式
 /// </summary>
 /// <param name="adao"></param>
 /// <param name="pdao"></param>
 public AdminService(ADao <Admin> adao, ADao <Person> pdao)
 {
     P_dao = pdao;
     A_dao = adao;
 }
Пример #2
0
 public PersonService(ADao <Person> pdao)
 {
     dao = pdao;
 }
Пример #3
0
 public AdminService(ADao <Admin> adao)
 {
     A_dao = adao;
 }