SessionBaseRegisterClass Method |
Register a class in the persistent schema.
It is a good idea to do this explicitly instead of having it happen the first time an object of an unregistered class is made persistent
Namespace:
VelocityDb.Session
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public TypeVersion RegisterClass(
Type type
)
Public Function RegisterClass (
type As Type
) As TypeVersion
public:
TypeVersion^ RegisterClass(
Type^ type
)
member RegisterClass :
type : Type -> TypeVersion
Parameters
- type
- Type: SystemType
The type to register in the persistent schema
Return Value
Type:
TypeVersionTypeVersion corresponding to type registered
See Also