header1.html

Thursday, 4 April 2013

Entity Framework Quiz-1


This Quiz is on Basics of Entity Framework,Check here simple quiz on .NET Framework

Entity Framework Quiz-1
1.In the Entity Framework, which is the primary object that you use to query and modify data?
ObjectContext
EntityObject
DataContext
None Of these


2.Which of the following is NOT TRUE about the Entity Framework?
It automatically generates the classes from the model and updates these classes dynamically when the model is changed.
It takes care of database connectivity.
It provides query syntax for querying the model
It does not provide any mechanism to track changes to the model’s objects.


3.What is scalar property?
A property of an entity that maps to a all fields in the storage model.
A property of an entity that maps to a single field in the storage model.
Both
None of above


4.Is it possible to change the mappings between the object model and the database/XML (data storage) schema without changing the application code?
Yes
No


5.Is it possible to carry forward the existing applications built on ADO.NET to the Entity Framework?
Yes
No


6. Is it possible to create an entity model without a pre-existing database?
Yes
No


7.True or False: With Entity Framework the queried data is returned as rows and columns or data table records.
True
False


8.Does Entity Framework support foreign keys?
Yes
No


9.Is it possible to use Entity Framework with web services and WCF?
Yes
No


10.True or False: Entity Framework moves the entity model into three XML files that are used by the EF runtime.
True
False
Take a quiz on .NET Framework here..