예제 #1
0
 public IEnumerable <Autor> ListarAutoresLibro(int id)
 {
     using (var db = new BibliotecaDbContext())
     {
         return((from a in db.LibAuts join aut in db.Autors on a.IdAutor equals aut.IdAutor where a.IdLibro == id select aut).ToList());
     }
 }
예제 #2
0
 public D_Libro(BibliotecaDbContext context) : base(context)
 {
 }
예제 #3
0
 public D_Autor(BibliotecaDbContext Context) : base(Context)
 {
 }