The NDOPersistent Attribute

Not every class of a system is persistent. The NDO enhancer needs information which classes are persistent and which are not. NDO provides this information using the custom attribute NDOPersistent. This attribute resides in the namespace NDO, so at the top of a source file for a persistent class should place the statement

using NDO;

The NDOPersistent attribute should appear directly above the class definition:

[NDOPersistent]

public class Employee

...

The Add Persistent Class feature of NDO has already taken care of these steps for you.