TechTalk Genome v4.2

Other Elements

The elements in this chapter can be used to extend functionality of types and members in Genome .

Elements

Element Description
<Index> Defines an index on a type, providing direct access to objects based on the values of certain selected fields.
<OptimisticLock> Makes the object available for optimistic locking using PersistentOptimisticLockServer.
<View> Defines a view on a type. Provides a named set of persistent properties and can be used for partial loading.
<LoadAlso> Specifies the set of properties to retrieve from the database together with the accessed property if it is not yet loaded up.
<Nullable> Specifies whether the database fields mapped to the property can hold NULL .
<CheckIntegrity> Notifies Genome to create and handle foreign keys between tables in the database.
<Relation> Specifies a set that describes the relation between persistent instances represented by a collection.
<EnumMapping> Specifies how Genome should map enumeration values to the database.
<BoolMapping> Specifies how Genome should map Boolean values to the database.
<QueryProvider> Instructs Genome to generate an implementation for a type that contains entry point queries to the domain model.
<GuidStringEncoding> Specifies the default encoding of GUID values (represented as string) used in Oracle schemas.