Comparing the Engine Objects
When you develop with the Engine object in managed code, there are several minor differences compared to how the Engine object works in native code.
Method Names
All the methods and properties share the same names, except for one:
Native Method | Equivalent Managed Method |
---|---|
CompactDatabase method |
Compact method |
Connection Strings
When calling the CompactDatabase and Repair methods of the Engine object in native code, you must provide both the source and destination connection strings because a destination database must be created. When you develop an application in managed code, specifying a new database is optional. In managed code, updates can be made to the existing Engine object.