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. When you develop an application in managed code, an engine object, when it is created, can be updated. You only have to provide the local connection string, because changes are made to the extant object.