/// <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; }
public PersonService(ADao <Person> pdao) { dao = pdao; }
public AdminService(ADao <Admin> adao) { A_dao = adao; }