Possible values for a delete rule in a ManagedRelationship.

Constants

cascade ManagedRelationshipDeleteRule

All objects with a foreign key reference to the deleted object will also be deleted.

const ManagedRelationshipDeleteRule(1)
nullify ManagedRelationshipDeleteRule

All objects with a foreign key reference to the deleted object will have that reference nullified.

const ManagedRelationshipDeleteRule(2)
restrict ManagedRelationshipDeleteRule

Prevents a delete operation if the would-be deleted ManagedObject still has references to this relationship.

const ManagedRelationshipDeleteRule(0)
setDefault ManagedRelationshipDeleteRule

All objects with a foreign key reference to the deleted object will have that reference set to the column's default value.

const ManagedRelationshipDeleteRule(3)
values → List<ManagedRelationshipDeleteRule>

A constant List of the values in this enum, in order of their declaration.

const List<ManagedRelationshipDeleteRule>

Properties

index → int
final
hashCode → int

The hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited