Click or drag to resize

SchemaRegisterClass Method

Register a type in the persistent schema

Namespace:  VelocityDb.TypeInfo
Assembly:  VelocityDb (in VelocityDb.dll) Version: (11.1)
public TypeVersion RegisterClass(
	Type type,
	SessionBase session,
	bool inFlush = false,
	bool persistIt = true


Type: SystemType
A type to register
Type: VelocityDb.SessionSessionBase
The active session
inFlush (Optional)
Type: SystemBoolean
Set to false if you want to avoid page flushing as a side affect
persistIt (Optional)
Type: SystemBoolean
Set to false if getting TypeVersion for a lookup (object read)

Return Value

Type: TypeVersion
An existing TypeVersion or a new one
See Also