Specifies the name of the field or fields which contains the foreign key value for a to-one association.

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 ForeignKeyFieldAttribute : Attribute
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class ForeignKeyFieldAttribute _
	Inherits Attribute

Remarks

This attribute may be applied only to fields of type EntityHolder<(Of <(TEntity>)>).

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    Mindscape.LightSpeed..::.ForeignKeyFieldAttribute

See Also