TypeVersion Properties |
The TypeVersion type exposes the following members.
Name | Description | |
---|---|---|
AllowOtherTypesOnSamePage |
Objects can be stored more efficiently if all object types on the page share the same type. By default mixed types are allowed. Override this to return false for types that should not share pages with other types.
(Overrides OptimizedPersistableAllowOtherTypesOnSamePage.) | |
AnyFieldIndex |
Does managed type or its base classes include a field index ?
| |
AnyTypeIndex |
Does managed type or its base classes include a type index ?
| |
AutoIncrement |
Does managed type or its base classes include an auto increment field?
| |
BaseShape |
Get the base TypeVersion or null if none exist
| |
Cache |
By default, the an object cache is determined by a SessionBase constructor parameter but certain types of objects may be re opened more frequently than others, for such types override this to return a value.
Caching objects this way can cause out of date object references to stay active due to lacking code to invalidate a cached object when referenced objects are replaced.
We will add this automatic invalidation as soon as possible but for now use caution when caching objects. Caching objects that does not strongly reference other objects is OK to do.
(Overrides OptimizedPersistableCache.) | |
CountStart |
Set where AutoIncrement counter should start
| |
DataMemberArray |
Get an array of fields represented as DataMember. Does not include fields from base classes.
| |
FieldIndex |
Does managed type include a field index ?
| |
IsFixedSize |
A type is fixed size if it only has fixed size fields
| |
IsISerializable | ||
IsString |
Is this schema for type System.String ?
| |
IsValueType |
Is managed type a ValueType ?
| |
Type |
Get the .NET type of the schema class
| |
TypeIndex |
Does managed type include a type index ?
| |
VelocityDbType |
Get schema class object managing a particular .NET type.
|