note
VeloxDB is still in beta and APIs are subject to change. We are in the process of completing the documentation, so some sections may be incomplete or empty at this time.
Class DeleteTargetAction
Indicates what to do with an object when referenced object is deleted.
Inheritance
System.Object
DeleteTargetAction
Namespace: VeloxDB.Descriptor
Assembly: vlxdb.dll
Syntax
public sealed class DeleteTargetAction : Enum
Fields
CascadeDelete
Delete referencing object automatically.
Declaration
public const DeleteTargetAction CascadeDelete
Field Value
Type | Description |
---|---|
DeleteTargetAction |
PreventDelete
Prevent deletion. Target object can only be deleted if there are no references pointing to it.
Declaration
public const DeleteTargetAction PreventDelete
Field Value
Type | Description |
---|---|
DeleteTargetAction |
SetToNull
Allow delete and set reference to null.
Declaration
public const DeleteTargetAction SetToNull
Field Value
Type | Description |
---|---|
DeleteTargetAction |