Transient
Usage
To specify that the property is not stored in the database, use the following syntax:
Property name As classname [ Transient ];
Otherwise, omit this keyword or place the word Not immediately before the keyword.
Details
In the case of a persistent class, specifies that the property is not stored in the database.
Note that Caché validates transient properties in the same way as other properties. For example, when you try to save the object, the system validates all its properties, including any transient properties.
In a subclass, you can mark a non-transient property as transient, but you cannot do the reverse.
Default
If this keyword is omitted, the property is not transient.
See Also
-
“Property Definitions” in this book
-
“Defining and Using Literal Properties” in Using Caché Objects
-
“Working with Collections” in Using Caché Objects
-
“Working with Streams” in Using Caché Objects
-
“Defining and Using Object-Valued Properties” in Using Caché Objects
-
“Defining and Using Relationships” in Using Caché Objects
-
“Introduction to Compiler Keywords” in Using Caché Objects