O'Reilly logo

Building Websites with DotNetNuke 5 by Ian Lackey, Michael Washington

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The database scripts

We will create an SQL script that will create the table needed for the module.

We will also create an uninstallation script. Later when we package this module in a .zip file that can be used to install the module in another DotNetNuke portal, the installation script will be executed by the DotNetNuke installer to create the table in the database, and the uninstallation script will be executed to remove the table when the module is uninstalled.

By convention, the database scripts should be named in the following manner:

Type of script

Description

Example

Installation script

Concatenate the version number of your module with the type of provider the script represents, for example, Sql.

01.00.00.SqlDataProvider

Uninstallation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required