Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Incident Reports » Incident Reports Addressed for Version 2.05 » View Incident Report |
Serious |
Reported By: Jan Weingartner Reported On: 5/24/2011 For: Version 2.05 Build 7 |
using (Elevate.ElevateDB.Data.EDBConnection connection = new Elevate.ElevateDB.Data.EDBConnection(@"CONFIGPATH=D:\Devtools\Projects\DotNet\TestProjekte\ElevateDB\DataBase;UID=Administrator;PWD=EDBDefault;DATABASE=Configuration")) { try { connection.Open(); using (Elevate.ElevateDB.Data.EDBCommand cmd = new Elevate.ElevateDB.Data.EDBCommand("", connection)) { cmd.CommandText = @" CREATE DATABASE ""MyDatabase"" PATH 'D:\Devtools\Projects\DotNet\TestProjekte\ElevateDB\DataBase\Data' DESCRIPTION 'Test Database' "; cmd.ExecuteNonQuery(); cmd.CommandText = @" CREATE MODULE ""edbmigratedbisam2"" PATH 'C:\Program Files (x86)\ElevateDB 2 ADD\libs\edbmigratedbisam2unicode\edbmigratedbisam2.dll' --DESCRIPTION 'DBISAM 2 Migrator Module (Unicode)' "; cmd.ExecuteNonQuery(); connection.ChangeDatabase("MyDatabase"); cmd.CommandText = @" CREATE MIGRATOR ""DBISAM2ToElevate"" MODULE ""edbmigratedbisam2"" "; cmd.ExecuteNonQuery(); cmd.CommandText = @" MIGRATE DATABASE FROM ""DBISAM2ToElevate"" USING DatabaseDirectory = 'C:\Dbisam2Db' , TablePasswords='secret' WITH DATA "; cmd.ExecuteNonQuery(); } } finally { connection.Close(); } }
This web page was last updated on Wednesday, October 30, 2024 at 11:41 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |