Depending on your selection you will have “Enhancing” property of the project set to true (if you have selected Persistent classes check box and an ObjectScopeProvider class if you have selected the DAL option.

Connection settings entries either in the form of a standard .NET connection string or the original OpenAcess settings Connection node.

Enabling WebSites

The process of enabling a website or web application is pretty much the same as with other projects. The difference comes with that the web site is not compiled to an assembly thus unable to hold any persistent classes. That is why you will not be able to check the Persistent classes checkbox.

At the end you should get the following entries:

References to Telerik OpenAccess ORM

ObjectScopeProvider class if you have checked the DAL option checkbox.

Reference with the name and version of the Telerik.OpenAccess assembly in the web.config file.

Connection string that defines the used connection in the web.config file.

The enable project wizard is used not only for adding references to Telerik OpenAccess ORM but for specifying various settings needed to successfully establish a connection to your database server. Having that in mind it is generally not a good idea to use the Enable Project Wizard to just add the references of Telerik OpenAccess ORM. The intended way of doing this is to use the Check Settings dialog.

Using a connection defined in a library project in a web site.

If you run the Enable Project Wizard on a web site, additionally to adding the required references and helper classes, the wizard can add connection strings required by library projects containing models. To do so you will have to enable/re-enable and select a connection form the available connections combo box on page 3 of the wizard. There you will see all the connections available not only form the DataExplorer, but also available in all the projects in the solution.