Release 1.0 - ...
<database> element
Defines a connection to a database and its structure.
To make a database accessible from SXML, it must be added to one or more userprofiles in Smartsite.Security.config.
Example
XML |
Copy Code
|
<database id="Test6">
<connectionstring>Provider=SQLOLEDB.1;Password=12345;Persist Security Info=True;User ID=someuser;Initial Catalog=mysite;Data Source=db1</connectionstring>
<schema ref="Smartsite,MyObjects" />
</database>
<database id="myoracle">
<connectionstring providername="Oracle.DataAccess.Client">Data Source=myoracle;Persist Security Info=True;user id=myusername;password=mypassword;</connectionstring>
</database>
|
Attributes
Attribute name |
Required |
Description |
id |
Yes |
The id of this database definition. |
Parent element
Element name |
Description |
<databases> |
Contains the databases used in the site. |
Child elements