Prev Next |
The <databases> section includes multiple <database> tags, each of which provides information regarding a specific data source, including which data providers are used to interact with the physical data source. The <database> tag has the following format:
<database id="dbname" singleInstance="true"
type="Sitecore.Data.Database, Sitecore.Kernel">
<param desc="name">$(id)</param>
<dataProviders hint="list:AddDataProvider">
<dataProvider ref="dataProviders/dpname"/>
</dataProviders>
</database>
Text displayed above in a bold, italic font should be replaced with appropriate values as follows:
-
dbname
– the name of the database (for use when accessing the database from Sitecore)
For example: master
-
dpname
– the name of the data provider to use when accessing the database.
For example: sqlserver
The web.config file includes support for many optional parameters associated with both the <dataProvider> and <database> tags. These are described in more detail in the associated reference sections below.
Prev Next