[SerializableAttribute] public class TypeVersion : OptimizedPersistable, IEquatable<TypeVersion>
<SerializableAttribute> Public Class TypeVersion Inherits OptimizedPersistable Implements IEquatable(Of TypeVersion)
[SerializableAttribute] public ref class TypeVersion : public OptimizedPersistable, IEquatable<TypeVersion^>
[<SerializableAttribute>] type TypeVersion = class inherit OptimizedPersistable interface IEquatable<TypeVersion> end
Thetype exposes the following members.
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.)
Does managed type or its base classes include a field index ?
Does managed type or its base classes include a type index ?
Does managed type or its base classes include an auto increment field?
Get the baseor null if none exist
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.)
Set where AutoIncrement counter should start
Get an array of fields represented as DataMember. Does not include fields from base classes.
Does managed type include a field index ?
A type is fixed size if it only has fixed size fields
true if ISerializable otherwise, false.
Is this schema for type System.String ?
Is managed type a ValueType ?
Get the .NET type of the schema class
Does managed type include a type index ?
Get schema class object managing a particular .NET type.
Encode a persistent object as a string for csv export
Indicates whether the current object is equal to another object of the same type.
Get a list of all DataMember of this type including base classes.
Loads member fields from persistent storage
Converts string representation of an object into VelocityDB object byte representation.
Persists references from an object
|ReadMe||(Overrides OptimizedPersistableReadMe(TypeVersion, Byte, Int32, SessionBase, Page, Boolean, Schema, Boolean, ListIOptimizedPersistable, Int32, Int32, Boolean).)|
Get the total size of an object of the managed type (including base class fields)
Removes an object from the persistent store and makes the object a transient object. It does not automatically make referenced objects unpersisted. Best way to do so is to override this virtual function in your own classes.(Overrides OptimizedPersistableUnpersist(SessionBase).)
|ToStringDetails(SessionBase, Boolean)||Overloaded. |
Object details as a string(Defined by Utilities.)
|ToStringDetails(Schema, TypeVersion, Boolean)||Overloaded. |
Currently only used by Database Manager(Defined by Utilities.)