Define how broken relations should be handled.

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
[SerializableAttribute]
public enum NotFoundBehaviour

Members

Member nameDescription
Default
Throw an exception when the relation is broken.
Exception
Throw an exception when the relation is broken.
Ignore
Ignore the broken relation and update the FK to null on the next save.

See Also