Exemplo n.º 1
0
 public IEnumerable <Agent> GetAll()
 {
     return(BaseDao.GetAll <Agent>("Select * from Agent"));
 }
Exemplo n.º 2
0
 public void Add(Agent agent)
 {
     BaseDao.Add("AddAgent", agent);
 }
Exemplo n.º 3
0
 public void DeleteById(int id)
 {
     BaseDao.DeleteById("DeleteAgent", id);
 }
Exemplo n.º 4
0
 public void DeleteById(int id)
 {
     BaseDao.DeleteById("DeleteStreet", id);
 }
Exemplo n.º 5
0
 public IEnumerable <Street> GetAll()
 {
     return(BaseDao.GetAll <Street>("Select * from Street"));
 }
Exemplo n.º 6
0
 public IEnumerable <Buy> GetAll()
 {
     return(BaseDao.GetAll <Buy>("Select * from Buy"));
 }
Exemplo n.º 7
0
 public void Add(Street street)
 {
     BaseDao.Add("AddStreet", street);
 }
Exemplo n.º 8
0
 public void DeleteById(int id)
 {
     BaseDao.DeleteById("DeleteBuy", id);
 }
Exemplo n.º 9
0
 public void Add(Buy buy)
 {
     BaseDao.Add("AddBuy", buy);
 }
Exemplo n.º 10
0
 public IEnumerable <Area> GetAll()
 {
     return(BaseDao.GetAll <Area>("Select * from Area"));
 }
Exemplo n.º 11
0
 public void Add(Area area)
 {
     BaseDao.Add("AddArea", area);
 }
Exemplo n.º 12
0
 public void Add(Client client)
 {
     BaseDao.Add("AddClient", client);
 }