Specifies that an association has no reverse association.
This attribute may be applied only to to-one associations where a foreign key field
is also present.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
[AttributeUsageAttribute(AttributeTargets.Field)] public sealed class NoReverseAssociationAttribute : Attribute |
Visual Basic (Declaration) |
---|
<AttributeUsageAttribute(AttributeTargets.Field)> _ Public NotInheritable Class NoReverseAssociationAttribute _ Inherits Attribute |
Remarks
You should use this attribute only when the associated entity
is cached. If the associated entity is not cached, this will result in a large
number of superfluous requests to the database.