Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between driver and provider

Tags:

c#

.net

sql

oracle

What is the difference between driver and provider in database? Is there are any explanation will be grateful.

sample : ADO.NET driver for MySQL vs providerName="System.Data.EntityClient"

like image 353
Thilina H Avatar asked Oct 10 '13 10:10

Thilina H


1 Answers

From the MSDN Forum:

Driver is a program installed on a workstation or a server; it allows programs to interact with a Database Management System (DBMS). Such as, JDBC driver provides database connectivity through the standard JDBC application program interface (APIs) available in J2EE.

A data provider is a set of libraries that is used to communicate with data source. Such as, SQL data provider for SQL, Oracle data provider for Oracle, OLE DB data provider for access, excel and MySQL. It serves as a bridge between an application and a data source and is used to retrieve data from a data source and to reconcile changes to that data back to the data source.

Source: MSDN-Forum

like image 92
jAC Avatar answered Sep 26 '22 02:09

jAC