Вы находитесь на странице: 1из 8

10/18/13

Freshermind ! Interview FAQs

Home

Projects

eBooks

Services

About

Contact

ADO.Net AND LINQINTERVIEW FAQS


19. Explain the architecture of ADO.NET in brief.?
AD0.NET consists of two fundamental components: * The DataSet, which is disconnected from the data source and does not need to know where the data that it holds is retrieved from. * The .net data provider, which allows you to connect your application to the data source and execute the SQL commands against it. The data provider contains the Connection, Command, DataReader, and DataAdapter objects. The Connection object provides connectivity to the database. The Command object provides access to database commands to retrieve and manipulate data in a database. The DataReader object retrieves data from the database in the readonly and forward-only mode. The DataAdapter object uses Command objects to execute SQL commands. The DataAdapter object loads the DataSet object with data and also updates changes that you have made to the data in the DataSet object back to the database.

20. Describe the disconnected architecture of ADO.NETs data access mode?


ADO.NET maintains a disconnected database access model, which means, the application never remains connected constantly to the data source. Any changes and operations done on the data are saved in a local copy (dataset) that acts as a data source. Whenever, the connection to the server is re-established, these changes are sent back to the server, in which these changes are saved in the actual database or data source.

21. What are the usages of the Command object in ADO.NET?


The following are the usages of the Command object in AD0.NET: The Command object in AD0.NET executes a command against the database and retrieves a DataReader or DataSet object.
www.freshermind.com/Interview/FAQAnswer.aspx?Category=ADO.Net AND LINQINTERVIEW FAQS&Type=DOTNET_ADO_LINQ&initialized=19 1/8

10/18/13

Freshermind ! Interview FAQs

* It also executes the INSERT, UPDATE, or DELETE command against the database. * All the command objects are derived from the DbCommand class. * The command object is represented by two classes: SqlCommand and OleDbCommand. * The Command object provides three methods to execute commands on the database: o The ExecuteNonQuery() method executes the commands and does not return any value. o The ExecuteScalar() method returns a single value from a database query. o The ExecuteReader() method returns a result set by using the DataReader object.

Next

All Related Posts :


1. Explain ADO.NET in brief.? 2. What are major difference between classic ADO and ADO.NET? 3. What are the benefits of using of ADO.NET in .NET 4.0.? 4. Which namespaces are required to enable the use of databases in ASP.NET pages? 5. Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.? 6. What is the meaning of object pooling? 7. What is the difference between OLEDB Provider and SqlClient? 8. Name the two properties of the GridView controls that have to be specified to turn on sorting and paging.? 9. Mention different types of data providers available in .NET Framework.? 10. Which architecture does Datasets follow? 11. What is the role of the DataSet object in ADO.NET? 12. Which property is used to check whether a DataReader is closed or opened? 13. Name the method that needs to be invoked on the DataAdapter control to fill the generated DataSet with data? 14. What are the pre-requisites for connection pooling? 15. What is a DataReader object? 16. How can you identify whether or not any changes are made to the DataSet object since it was last loaded? 17. What is the use of the Connection object? 18. What is the use of the CommandBuilder class?
www.freshermind.com/Interview/FAQAnswer.aspx?Category=ADO.Net AND LINQINTERVIEW FAQS&Type=DOTNET_ADO_LINQ&initialized=19 2/8

10/18/13

18. What is the use of the CommandBuilder class? 19. Explain the architecture of ADO.NET in brief.?

Freshermind ! Interview FAQs

20. Describe the disconnected architecture of ADO.NETs data access mode? 21. What are the usages of the Command object in ADO.NET? 22. What is connection pooling? 23. What are the various methods provided by the DataSet object to generate XML? 24. Out of Windows authentication and SQL Server authentication, which authentication technique is considered as a trusted authentication method? 25. How would you connect to a database by using .NET? 26. What is Language Integrated Query (LINQ)? 27. What is the use of DataView? 28. What is the difference between the Clone() and Copy() methods of the DataSet class? 29. Explain the new features in ADO.NET Entity Framework 4.0.? 30. What are different types of authentication techniques that are used in connection strings to connect .NET applications with Microsoft SQL Server? 31. Which object is used to add a relationship between two DataTable objects? 32. Which adapter should you use, if you want to get the data from an Access database? 33. What are the parameters that control most of connection pooling behaviors? 34. How can you add or remove rows from the DataTable object of DataSet? 35. Explain in brief DataAdapter class in ADO.NET.? 36. What are LINQ query expressions? 37. Write the basic steps to execute a LINQ query.? 38. Write the basic syntax of a LINQ query in Visual Basic as well as in C#.? 39. What is PLINQ? 40. What are the different Visual Basic features that support LINQ? 41. What is the DataContext class and how is it related to LINQ? 42. What is the difference between the Take and Skip clauses? 43. What is Object Relational Designer (0/R Designer)? 44. Which interface implements the standard query operators in LINQ? 45. What are standard query operators in LINQ? 46. What is a LinqDataSource control? 47. What are lambda expressions in LINQ? 48. What are the different implementations of LINQ? 49. What is the difference between the Select clause and SelectMany() method in LINQ? 50. Which extension method do you need to run a parallel query in PLINQ?
www.freshermind.com/Interview/FAQAnswer.aspx?Category=ADO.Net AND LINQINTERVIEW FAQS&Type=DOTNET_ADO_LINQ&initialized=19

51. What is Dynamic Language Runtime (DLR)? (category: Dynamic progamming)

3/8

10/18/13

51. What is Dynamic Language Runtime (DLR)? (category: Dynamic progamming) 52. What are the advantages of DLR? (category: Dynamic progamming) 53. Give a brief introduction to Binders.? (category: Dynamic progamming)

Freshermind ! Interview FAQs

54. Explain the different services provided by DLR to CLR.? (category: Dynamic progamming) 55. Name the binders provided by .NET Framework 4.0.? (category: Dynamic progamming) 56. Explain ExpandoObject and DynamicObject classes.? (category: Dynamic progamming) 57. What is the difference between dynamic and var data types? (category: Dynamic progamming)

Reader Comments :
DEkAK : Sunday, April 14, 2013 normy273@hotmail.com s2va5i http://www.6shpFpANPwYnffbs9P5rsRN67oJWDZuQ.com

himanhsu : Friday, June 14, 2013 himanshuonline3030@gmail.com thanks a lot for such easy notes of powerful languages,it really helped me alot...

VZJzUG : Friday, June 28, 2013 getjoy@msn.com Which university are you at? http://www.theshapeofdays.com/contact-us where to buy propecia in australia Give details of documentation required and for which drugs. For drug accountability/ dispensing logs, state whether they are patient specific or batch specific etc.

Gi0yK : Friday, June 28, 2013 bonser@gmail.com A First Class stamp http://rectoversoblog.com/about/ prozac sale uk pharmacist preceptors licensed in the United States.

sQaz9 : Saturday, June 29, 2013 lightsoul@gmail.com Could you please repeat that? http://elliottworkgroup.com/profile/ wellbutrin price activities requests through on all

Bc2ZoL : Saturday, July 06, 2013 barny182@hotmail.com www.freshermind.com/Interview/FAQAnswer.aspx?Category=ADO.Net AND LINQINTERVIEW FAQS&Type=DOTNET_ADO_LINQ&initialized=19
4/8

10/18/13

Freshermind ! Interview FAQs

barny182@hotmail.com http://www.c1dOvW6eef5JOp8ApWjKQy5RO5mLafkc.com

SEeAU : Tuesday, July 09, 2013 normy273@hotmail.com http://www.c1dOvW6eef5JOp8ApWjKQy5RO5mLafkc.com

QAPyB : Thursday, July 11, 2013 greenwood@webtown.com Please wait

oudiU : Thursday, July 11, 2013 gobiz@gmail.com Thanks for calling

gTPBkX : Thursday, July 11, 2013 coco888@msn.com real beauty page

Vzp2d : Wednesday, August 28, 2013 normy273@hotmail.com um4P4N http://www.5EWalaK3zaEFzKWsK72EARLchwGWGEmy.com

Rb96vd : Wednesday, October 02, 2013 dbfuzz@hotmail.com BPK9a4 http://www.MHyzKpN7h4ERauvS72jUbdI0HeKxuZom.com

Write Your comments Here.


www.freshermind.com/Interview/FAQAnswer.aspx?Category=ADO.Net AND LINQINTERVIEW FAQS&Type=DOTNET_ADO_LINQ&initialized=19 5/8

10/18/13

Freshermind ! Interview FAQs

Your comments ....

Your Name EmailId


Submit

Java
Hibernate Framework Struts Framework Spring Framework OCJP/SCJP CoreJava JDBC Servlet JSP

.NET
.Net Framework C#.Net (Csharp) ASP.Net ADO.Net & LINQ AJAX & WebServices

Core Language
C Language C++ Language
www.freshermind.com/Interview/FAQAnswer.aspx?Category=ADO.Net AND LINQINTERVIEW FAQS&Type=DOTNET_ADO_LINQ&initialized=19 6/8

10/18/13

Freshermind ! Interview FAQs

Data Structure MS SQL SERVER DataBase

Aptitude
Quantative Aptitude Verbal Aptitude Puzzles Technical(c,c++..) Aptitude

Online Test
Quantative Aptitude Verbal Aptitude Puzzle Aptitude Techincal Aptitude

DownloadS
Resume Download Ebook Download Project Download

Java Tutorial
Hibernate Framework Struts Framework Spring Framework JSP CoreJava JDBC Servlet

www.freshermind.com/Interview/FAQAnswer.aspx?Category=ADO.Net AND LINQINTERVIEW FAQS&Type=DOTNET_ADO_LINQ&initialized=19

7/8

10/18/13

Freshermind ! Interview FAQs

Copyright 2012 Freshermind Technology

www.freshermind.com/Interview/FAQAnswer.aspx?Category=ADO.Net AND LINQINTERVIEW FAQS&Type=DOTNET_ADO_LINQ&initialized=19

8/8

Вам также может понравиться