Entity Framework Fundamentals
Test your knowledge of Microsoft Entity Framework, LINQ, ORM concepts, and data modeling in .NET applications
Questions
Default method name created by Entity Framework to insert an entity in database is (Note: will be replaced by the name of actual Entity)
- InsertTo<EntityName>
- AddTo<EntityName>
- Insert<EntityName>
- Add<EntityName>
While generating Entity Data Model, database connection details are saved in
- Configuration File
- EDMX File
- .CS
- .VB
Visual Studio tool window that is integrated with the ADO.NET Entity Data Model Designer is called
- Model Browser
- Model Designer
- Solution Designer
- Solution Browser
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.
- Relational Model
- Conceptual Model
- Data Model
- Entity Client Model
Services provided by the Entity Framework that enable application code to operate on entities like .NET Framework objects.
- Entity Services
- Object Services
- Enterprise Services
- Model Services
Class ObjectContext belongs to following assembly
- System.Data.Entity
- System.Data.Objects
- System.Objects.Data
- System.Entity.Data
A connection to the database in Entity framework is in the form of object of class
- SQLConnection
- DbConnection
- EntityConnection
- ODBCConnection
ORM stands for
- Object Relational Mapping
- Object Relation Map
- Object Relational Map
- Object Relation Maping
First version of MS Entity Framework was shipped with
- .NET Framework 3.5
- .NET Framework 3 Service Pack 1
- .NET Framework 3
- .NET Framework 3.5 Service Pack 1
The Namespace in .NET Framework for the Entity Framework Data Provider is
- System.Entity.Data
- System.Data.ClientEntity
- System.Data.EntityClient
- System.EntityClient.Data
CSDL stands for
- Conceptual Schema Definition Language
- Concept Storage Definition Language
- Conceptual Storage Definition Language
- Concept Schema Definition Language
SSDL stands for
- Schema Storage Definition Languace
- Store Schema Definition Language
- Storage Schema Definition Language
- Schema Store Definition Language
Entity Framework maps “Relational data model” into a fully object oriented “Conceptual Model”
- True
- False
Default method name created by Entity Framework to add \ update changes to database is
- AddUpdateChanges()
- Save()
- SaveChanges()
- InsertUpdateChanges()
Following database objects can be included in Entity Data Model
- Store Procedures
- Tables
- Views
- All of these
Which technique should be used for building and executing dynamic queries?
- Entity SQL
- LINQ to Entities
- LINQ to SQL
- LINQ to Entity SQL
LINQ provides compile time checks and type safety
- True
- False
A model that enables application data to be represented as a set of entities and relationships
- Enterprise Data Model
- Entity Data Model
- Inheritance Data Model
- Client Data Model
MSDL Stands for
- Map Storage Description Language
- Mapped Storage Definition Language
- Map Storage Definition Language
- Mapping Schema Definition Language