You can prevent classes extending %Persistent to have storage (an extent) by using the 'NoExtent' keyword.
Concrete classes will inherit properties and methods, and generate their own storage strategy block for them on compile.
Class AbstractPersistentClass Extends %Persistent [Abstract,NoExtent]
{
Property Name As %String;
Property Department As %String;
Property Title As %String;
}
Class Customers Extends AbstractPersistentClass
{ ... }
Class Suppliers Extends AbstractPersistentClass
{ ... }- Log in to post comments

.png)