예제 #1
0
 public Proveedor Load(int id)
 {
     using (ProveedoresRepository repo = new ProveedoresRepository(DataContext)){
         return(repo.LoadOne <Proveedor>(this, repo.GetItem(id)));
     }
 }