Mindscape LightSpeed - User Reference & API Documentation
DependentAttribute Class
API ReferenceMindscape.LightSpeedDependentAttribute
Notifies the framework that a one-to-many association should be considered dependent. This determines, among other things, delete cascade behaviour. When a one-to-many association is dependent, child rows are cascade deleted along with the parent entity. NB. This is normally inferred based on the nullability of the corresponding foreign key field.
Declaration Syntax
C#Visual Basic
[AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class DependentAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class DependentAttribute _
	Inherits Attribute
Members
All MembersConstructorsProperties



IconMemberDescription
DependentAttribute()()()
ValidatePresence
Whether or not the associated entity is required to be present.

Inheritance Hierarchy
Object
Attribute
 DependentAttribute

Assembly: Mindscape.LightSpeed (Module: Mindscape.LightSpeed) Version: 1.2.1393.0 (1.2.1393.0)