SQLite configuration example:
- ADO_PROVIDER:
System.Data.SQLite
- ADO_CONNECTION_STRING:
Data
Source=$(GSTUSERSAMPLESDIR)/OfficeStoreRes/database-sqlite/officestore.db
|
IBM-Informix® configuration
example:
- ADO_PROVIDER:
System.Data.Odbc
- ADO_CONNECTION_STRING:
Driver= {IBM INFORMIX ODBC DRIVER
(64-bit)};Host=localhost;Server=ol_informix1170;Service=9088;Protocol=olsoctcp;Database=officestore;Uid=myUsername;Pwd=myPassword;
|
MySQL configuration example:
- ADO_PROVIDER:
MySql.Data.MySqlClient
- ADO_CONNECTION_STRING:
Server=myServerAddress;Database=officestore;Uid=myUsername;Pwd=myPassword;
|
SQL Server configuration example:
- ADO_PROVIDER:
System.Data.SqlClient
- ADO_CONNECTION_STRING:
Server=myServerName\myInstanceName;Database=myDataBase;Trusted_Connection=True;
|
Oracle configuration example:
- ADO_PROVIDER:
System.Data.OracleClient
Note:
This ADO_PROVIDER value is valid for the default Oracle provided by Microsoft with the .NET framework (ADO.NET). If you are using the Oracle Data Provider for .NET (ODP.NET), set
ADO_PROVIDER to Oracle.DataAccess.Client or
Oracle.ManagedDataAccess.Client .
- ADO_CONNECTION_STRING:
Data
Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)));User
Id=myUserId;Password=myPassword;
Warning:
SMALLFLOAT and FLOAT data types are not supported by the
ADO.NET provider for Oracle. To use these
data types, use a third party provider which supports them, such as Oracle Data Provider for .NET (ODP).
|