Hi all, I try to restore a backup file, see following code, .Net provider can’t restore but when I add line System.Threading.Thread.Sleep(10000) then it’s OK.
FirebirdSql.Data.Services.FbRestore FbRestore = new FirebirdSql.Data.Services.FbRestore (); FbRestore.BackupFiles.Add(new FirebirdSql.Data.Services.FbBackupFile(BackupFile, 4096)); FbRestore.ConnectionString = _ConnectionString; FbRestore.Options = FirebirdSql.Data.Services.FbRestoreFlags.Replace; FbRestore.Execute(); System.Threading.Thread.Sleep(10000); In Firebird 2.1, .Net Provider 2.5 Alpha ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Firebird-net-provider mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
