Click or drag to resize

ServerClientSessionSubscribeToChanges Method

Subscribe to committed database changes of instances of a type when an optional property evaluates to true.

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public override void SubscribeToChanges(
	Type aType,
	string notifyIfTrueProperty = null
)

Parameters

aType
Type: SystemType
The type you are interested in being notified about when persistent instances changes within a database.
notifyIfTrueProperty (Optional)
Type: SystemString
The name of a property part of the type specified as aType, this should be a boolean property. When property returns true, a change notification is send otherwise no notification is send. Leave as null to get a notification any time any instance of the selected type changes
See Also