NET Centric Computing010 marksNumerical: Entity Framework database programLINQ queries with Entity Framework
Assume a database named 'Library' with relation Book(Id, Name, Price, Author, Pub_Date). Write a program to insert the records of 10 books and retrieve those books which are published in 2022 using Entity Framework.
Assume a database named 'Library' with relation Book(Id, Name, Price, Author, Pub_Date). Write a program to insert the records of 10 books and retrieve those books which are published in 2022 using Entity Framework.[10]
Database: Library Relation: Book(Id, Name, Price, Author, PubDate) Attributes: - Id - identifier (primary key, integer) - Name - book name (string) - Price - price (numeric) - Author - author name (string) - PubDate - publication date (date) Tasks: 1. Insert records of 10 books. 2. Retrieve books...