Exemplo n.º 1
0
 private static void Main()
 {
     using (var bookDatabaseEntities = new BookDatabaseEntities())
     {
         foreach (Book book in bookDatabaseEntities.Books)
         {
             Console.WriteLine("{0}, {1}", book.Title, book.Publisher);
         }
     }
 }