Abstract

Microsoft has put a lot effort into .NET, and it shows in the 2500-plus objects that they have provided in the .NET Framework. ADO.NET continues the tradition of ADO simplifying data access, while allowing for more flexible and powerful solutions than ever. Microsoft has added much power to ADO.NET, and provided clear ties to classic ADO that enable the veteran ADO programmer to easily move into the new environment. The chapter discusses the disconnected nature of the ADO.NET architecture and made great use of the DataReader object in Address Book example. The chapter also introduces to the Data Access Layer (DAL) concept, and created a sample application the used the DAL to insert data using Embedded SQL statements, and Stored procedures. System.Data.SqlTypes and the SqlDbTypes enumeration are used and discussed that they are related, but have very different uses, such as the System.Data.SqlTypes namespace provider objects that are used to create SQL Server-compatible variables in our code, and then use the SqlDbTypes enumeration to specify the data type of a Parameter object for a command.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.