Ninja Database Pro
ForeignKeyAttribute Constructor



KellermanSoftware.NinjaDatabasePro Namespace > ForeignKeyAttribute Class : ForeignKeyAttribute Constructor
Maps a field to a parent type
Syntax
Public Function New( _
   ByVal relationship As Relationship _
)
Dim relationship As Relationship
 
Dim instance As New ForeignKeyAttribute(relationship)
public ForeignKeyAttribute( 
   Relationship relationship
)
public:
ForeignKeyAttribute( 
   Relationship relationship
)

Parameters

relationship
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ForeignKeyAttribute Class
ForeignKeyAttribute Members