65.9K
CodeProject is changing. Read more.
Home

DbKeeperNet 1.4.1.1 Released

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Jul 21, 2010

CPOL
viewsIcon

5510

DbKeeperNet 1.4.1.1 has been released

Abstract

Another version of this very useful component which will help you in managing relational database schema changes and database schema distribution was just now released.

What is New

The following changes have been made to the project:

  • Oracle support (tested on version 10g)
  • New precondition DbTriggerNotFound (supported only on Oracle and MSSQL)
  • New Oracle specific precondition OraDbSequenceNotFound
  • IDatabaseService interface extended by TriggerExists() method contract

Files are available for download on Google Code at http://code.google.com/p/dbkeepernet/downloads/list.

How to Use It

To enable DbKeeperNet within your project:

  1. Download the engine.
  2. Update your App.Config (or Web.Config).
  3. Prepare your database update script (check the sample projects within the source package).
  4. Add the following 8 lines of code to enable the DbKeeperNet within your project (the code below should be part of an installation procedure):
    using (UpdateContext context = new UpdateContext())
    {
       context.LoadExtensions();
       context.InitializeDatabaseService(connString);
    
       Updater updater = new Updater(context);
       updater.ExecuteXmlFromConfig();
    }

References