TheSwamp
Code Red => .NET => Topic started by: Andrey Bushman on December 13, 2011, 08:55:26 AM
-
How can I quickly to create a copy of Database object?
//db - is Database, not null...
//Variant 1:
Database db1 = (Database) db.Clone();//result: db1 = null;
//Variant 2:
Database db2 = new Database(false, true);
db2.CopyFrom(db);// result: Fatal Error.
Thanks.
-
How can I quickly to create a copy of Database object?
Database.Wblock Method ()
Description
Creates a new Database object, and then uses the wblockClone mechanism to write the entire contents of the database on which this function is being called out to the new database.
-
2 kaefer
Thanks!