Entity Framework Interview Questions You'll Most Likely Be Asked is a perfect companion to stand ahead above the rest in today’s competitive job market. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. This book puts the interviewee in the driver's seat and helps them steer their way to impress the interviewer.
a) 200 Entity Framework Interview Questions, Answers and Proven Strategies for getting hired as an IT professional
b) Dozens of examples to respond to interview questions
c) 51 HR Questions with Answers and Proven strategies to give specific, impressive, answers that help nail the interviews
d) 2 Aptitude Tests download available on www.vibrantpublishers.com
25: What is the purpose of the Multiplicity attribute in an association?
The Multiplicity attribute specifies the number of instances of each End that can participate in the relationship. For example, every order must have a corresponding customer but one customer may have more than one order.
26: How does the Entity Framework implement the EDM?
The Entity Framework implements the EDM as three XML files. The primary file represents the conceptual model (.csdl), the second file represents the database schema (.ssdl) and the third file represents the mapping between the model and the database schema (.msl). At design time, all these files are grouped into an .edmx file. The build process splits the .edmx file into three metadata files described above to be used in runtime.
27: Which of the following is NOT TRUE about the Entity Framework?
a) It automatically generates the classes from the model and updates these classes dynamically when the model is changed.
b) It takes care of database connectivity.
c) It provides query syntax for querying the model
d) It does not provide any mechanism to track changes to the model’s objects.
(d). It does not provide any mechanism to track changes to the model’s objects.
28: What is an Entity Container?
It is the logical group of entities in a model.
29: What does CSDL stand for? What is stored in the .csdl file?
CSDL stands for Conceptual Storage Definition Language. The .csdl file stores the conceptual schema related with the business logic or the application logic.
30: What does SSDL stand for? What is stored in the .ssdl file?
SSDL stands for Store Schema Definition Language. The .ssdl file stores the database storage layer related with the actual normalized database.
31: How is the foreign key constraint implemented in SSDL?
The foreign key constraint is implemented by the ReferentialConstraint element of an Association. It specifies direction in a relationship in the SSDL within the Entity Data Model. Associations in the EDM are navigable in either direction. There are two elements, Principal Role and Dependent Role of a ReferentialConstraint to implement the corresponding foreign key relationships in the database.