Inherit ContentItem and persist to database?
Is it possible to inherit from ContentItem and get persistence automatically wired up?
I want to persist a derived class in its own table and add some extra properties. I want to inherit because I also want to get comments, security, workflow, etc already wired up for my derived class.
Hi bemara57,
You can inherit from ContentItem and use the built-in dynamic custom fields. If you want to persist some data in a separate table you need to create your own persistence class for the properties you are going to add.
Greetings,
Ivan Dimitrov
the Telerik team