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.0.0 (11.1)
Syntax
public TypeVersion RegisterClass(
	Type type,
	SessionBase session,
	bool inFlush = false,
	bool persistIt = true
)

Parameters

type
Type: SystemType
A type to register
session
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