Skip to main content

%Library.CustomStorage

Class %Library.CustomStorage Extends %Storage [ Abstract, Not ProcedureBlock, System = 2 ]

The %CustomStorage class contains a set of empty storage interface methods. The %CustomStorage class serves as a storage class for objects in which you plan on providing your own storage interface methods. It is assumed that these methods will override all of the methods listed here.

Parameters

SQLENABLED

Parameter SQLENABLED = 0;

SQLENABLED controls the projection of a persistent class to SQL. If TRUE, then an SQL table will be created during compilation that is based on the class. For classes using %Library.CustomStorage, the data model projected is based on the SQL maps defined in the storage definition.

STORAGECOMPILERCLASS

Parameter STORAGECOMPILERCLASS = "%Compiler.Storage.Common";