Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
ADO.NET Entity framework interview questions with answers

ADO.NET Entity framework interview questions with answers

Ratings:

4.5

(2)
|Views: 1,282|Likes:
Published by Shivprasad Koirala
This PDF has 20 important ADO.NET Entity framework interview questions with answers

by www.questpond.com
This PDF has 20 important ADO.NET Entity framework interview questions with answers

by www.questpond.com

More info:

Published by: Shivprasad Koirala on Oct 30, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/25/2014

pdf

text

original

 
 ADO.NET Entity frameworInterview questions with answers
Byhttp://www.questpond.com (Get our 600 videos on Design pattern , EF , ADO.NET , WCF , SQL, SSIS , SSAS , SSRS ,Fresher videos , Sharepoint , Biztalk 
and lot more…)
 
 
Contents
 
 What is Entity framework?
ADO.NET entity is an ORM (object relational mapping) which creates a higher abstract object modelover ADO.NET components.So rather than getting in to dataset , datatables , command and connection objects as shown in the belowcode , you work on higher level domain objects like customers , suppliers etc.
DataTable table = adoDs.Tables[0];for (int j = 0; j < table.Rows.Count; j++){DataRow row = table.Rows[j];// Get the values of the fieldsstring CustomerName =(string)row["Customername"];string CustomerCode =(string)row["CustomerCode"];}
 
Below is the code of entity framework in which we are working on the higher level domain objects likecustomer rather than working with base level ADO.NET components( like dataset , datareader ,command , connection objects etc).
foreach (Customer objCust in obj.Customers){}
So what are benefits of using EF?
The main and the only benefit of EF is it auto-generates code for Model (Middle layer), Data access layer and mapping code thus reducing lot of development time.
So what are the different ways of creating these domain / entity objects?
Entity objects can be created by two ways from a database structure or by starting from scratch bycreating a model.

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
Shivprasad Koirala added this note
If you like it Share it on your facebook
1 hundred reads

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->