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
)
Public Overrides Sub SubscribeToChanges (
aType As Type,
Optional notifyIfTrueProperty As String = Nothing
)
public:
virtual void SubscribeToChanges(
Type^ aType,
String^ notifyIfTrueProperty = nullptr
) override
abstract SubscribeToChanges :
aType : Type *
?notifyIfTrueProperty : string
(* Defaults:
let _notifyIfTrueProperty = defaultArg notifyIfTrueProperty null
*)
-> unit
override SubscribeToChanges :
aType : Type *
?notifyIfTrueProperty : string
(* Defaults:
let _notifyIfTrueProperty = defaultArg notifyIfTrueProperty null
*)
-> unit
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