lo que hice hoy
This commit is contained in:
@@ -189,6 +189,10 @@ public class RepositorioContratos: RepositorioBase<RepositorioContratos> {
|
||||
var con = Context;
|
||||
var l = con.Contratos
|
||||
.Include(x=>x.Idgarantes)
|
||||
.Include(x=>x.DniinquilinoNavigation)
|
||||
.Include(x=>x.DnipropietarioNavigation)
|
||||
.Include(x=>x.IdpropiedadNavigation)
|
||||
.ThenInclude(x=>x.IdtipropiedadNavigation)
|
||||
.FirstOrDefault(x=>x.Id == idcontrato);
|
||||
return l;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user