public Client Select(string id) { RowMapper <Client> rowMapper = RowMapper; ActiveRecord <Client> dao = new ActiveRecord <Client>("User", rowMapper); return(dao.Select(id)); }
public void Insert(Client client) { RowMapper <Client> rowMapper = RowMapper; ActiveRecord <Client> dao = new ActiveRecord <Client>("User", rowMapper); dao.Insert(client); }