Inherit ContentItem and persist to database?

Posted by Community Admin on 03-Aug-2018 18:06

Inherit ContentItem and persist to database?

All Replies

Posted by Community Admin on 30-Dec-2010 00:00

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.

Posted by Community Admin on 31-Dec-2010 00:00

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

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed