To create a custom content-based model:
In Visual Studio, in your project, open the context menu of the Model folder and click Add » New Item...
EXAMPLE: For more information about the contents of the file, refer to class JobApplication.cs from the downloaded sample project.
In this class, JobApplication is the name of your model. First, you mark your custom model as Persistent and specify the manager which is used to operate on this model. You implement the manager later on. By choosing Content as the parent class, your custom model automatically inherits a ready-to-use interface and functionality:
Since content lifecycle is not required for this model, you explicitly disable content lifecycle by setting the SupportsContentLifecycle property to false.
Back To Top