Entity Framework Fundamentals

Test your knowledge of Microsoft Entity Framework, LINQ, ORM concepts, and data modeling in .NET applications

19 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Default method name created by Entity Framework to insert an entity in database is (Note: will be replaced by the name of actual Entity)

  1. InsertTo<EntityName>
  2. AddTo<EntityName>
  3. Insert<EntityName>
  4. Add<EntityName>
Question 2 Multiple Choice (Single Answer)

While generating Entity Data Model, database connection details are saved in

  1. Configuration File
  2. EDMX File
  3. .CS
  4. .VB
Question 3 Multiple Choice (Single Answer)

Visual Studio tool window that is integrated with the ADO.NET Entity Data Model Designer is called

  1. Model Browser
  2. Model Designer
  3. Solution Designer
  4. Solution Browser
Question 4 Multiple Choice (Single Answer)

An implementation of the Entity Data Model (EDM), specific to the Entity Framework, which represents an abstract specification for the data structures that define an entity-relationship representation of data in the domain of an application.

  1. Relational Model
  2. Conceptual Model
  3. Data Model
  4. Entity Client Model
Question 5 Multiple Choice (Single Answer)

Services provided by the Entity Framework that enable application code to operate on entities like .NET Framework objects.

  1. Entity Services
  2. Object Services
  3. Enterprise Services
  4. Model Services
Question 6 Multiple Choice (Single Answer)

Class ObjectContext belongs to following assembly

  1. System.Data.Entity
  2. System.Data.Objects
  3. System.Objects.Data
  4. System.Entity.Data
Question 7 Multiple Choice (Single Answer)

A connection to the database in Entity framework is in the form of object of class

  1. SQLConnection
  2. DbConnection
  3. EntityConnection
  4. ODBCConnection
Question 8 Multiple Choice (Single Answer)

ORM stands for

  1. Object Relational Mapping
  2. Object Relation Map
  3. Object Relational Map
  4. Object Relation Maping
Question 9 Multiple Choice (Single Answer)

First version of MS Entity Framework was shipped with

  1. .NET Framework 3.5
  2. .NET Framework 3 Service Pack 1
  3. .NET Framework 3
  4. .NET Framework 3.5 Service Pack 1
Question 10 Multiple Choice (Single Answer)

The Namespace in .NET Framework for the Entity Framework Data Provider is

  1. System.Entity.Data
  2. System.Data.ClientEntity
  3. System.Data.EntityClient
  4. System.EntityClient.Data
Question 11 Multiple Choice (Single Answer)

CSDL stands for

  1. Conceptual Schema Definition Language
  2. Concept Storage Definition Language
  3. Conceptual Storage Definition Language
  4. Concept Schema Definition Language
Question 12 Multiple Choice (Single Answer)

SSDL stands for

  1. Schema Storage Definition Languace
  2. Store Schema Definition Language
  3. Storage Schema Definition Language
  4. Schema Store Definition Language
Question 13 True/False

Entity Framework maps “Relational data model” into a fully object oriented “Conceptual Model”

  1. True
  2. False
Question 14 Multiple Choice (Single Answer)

Default method name created by Entity Framework to add \ update changes to database is

  1. AddUpdateChanges()
  2. Save()
  3. SaveChanges()
  4. InsertUpdateChanges()
Question 15 Multiple Choice (Single Answer)

Following database objects can be included in Entity Data Model

  1. Store Procedures
  2. Tables
  3. Views
  4. All of these
Question 16 Multiple Choice (Single Answer)

Which technique should be used for building and executing dynamic queries?

  1. Entity SQL
  2. LINQ to Entities
  3. LINQ to SQL
  4. LINQ to Entity SQL
Question 17 True/False

LINQ provides compile time checks and type safety

  1. True
  2. False
Question 18 Multiple Choice (Single Answer)

A model that enables application data to be represented as a set of entities and relationships

  1. Enterprise Data Model
  2. Entity Data Model
  3. Inheritance Data Model
  4. Client Data Model
Question 19 Multiple Choice (Single Answer)

MSDL Stands for

  1. Map Storage Description Language
  2. Mapped Storage Definition Language
  3. Map Storage Definition Language
  4. Mapping Schema Definition Language