Notifies the framework which action to apply to child relationships when deleting an entity through a UnitOfWork.Remove() or cascaded delete. This attribute is currently only supported on EntityHolder declarations and is to be applied on the child side of the relationship.

Namespace:  Mindscape.LightSpeed
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class RemovalBehaviorAttribute : Attribute
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class RemovalBehaviorAttribute _
	Inherits Attribute

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    Mindscape.LightSpeed..::.RemovalBehaviorAttribute

See Also