What Is Oledb
Depending on the functionality supported by the native ole db provider some methods or properties of an oledbconnection object may not be available.
What is oledb. Object linking and embedding database ole db is a group of apis used to facilitate and abtract access to application data of different file formats including spreadsheets structured query language sql based database management systems dbms indexed sequential files and personal databases. Ole db is a set of com based interfaces that expose data from a variety of sources. The api provides a set of interfaces implemented using the component object model com. Oledb is a data api developed by microsoft.
Ole db object linking and embedding database sometimes written as oledb or ole db an api designed by microsoft allows accessing data from a variety of sources in a uniform manner. Unlike odbc it encompasses both table like and non table like data such as email messages web pages word documents and file directories. However it is procedure oriented rather than object oriented and is regarded as a rather difficult interface with which to develop access to data sources. It is otherwise unrelated to ole.
Oledb is considered to be a successor to odbc and it can handle data sources in a much higher level compared to odbc. An ole db connection manager enables a package to connect to a data source by using an ole db provider. Ole db is microsoft s strategic low level application program interface for access to different data sources. The ole db driver for sql server is a stand alone data access application programming interface api used for ole db that was introduced in sql server 2005 9 x.
The oledbdataadapter serves as a bridge between a dataset and data source for retrieving and saving data. It allows to access data from a large range of data sources. With a client server database system it is equivalent to a network connection to the server. An oledbconnection object represents a unique connection to a data source.
The oledbdataadapter provides this bridge by using fill to load data from the data source into the dataset and using update to send changes made in the dataset back to the data source. Ole db interfaces provide applications with uniform access to data stored in diverse information sources or data stores. Ole db driver for sql server delivers the sql ole db driver in one dynamic link library dll. For example an ole db connection manager that connects to sql server can use the microsoft ole db provider for sql server.