Knight Data Access Layer
SetChild Method (IAutoMap)




KellermanSoftware.NetDataAccessLayer Namespace > IAutoMap Interface : SetChild Method
The type of relationship parent class
Child property name
Foreign key name
Mark specified by name property as child
Syntax
Sub SetChild( _
   ByVal type As Type, _
   ByVal propertyName As String, _
   ByVal foreignKeyName As String _
) 
Dim instance As IAutoMap
Dim type As Type
Dim propertyName As String
Dim foreignKeyName As String
 
instance.SetChild(type, propertyName, foreignKeyName)
void SetChild( 
   Type type,
   string propertyName,
   string foreignKeyName
)
void SetChild( 
   Type* type,
   string* propertyName,
   string* foreignKeyName
) 
void SetChild( 
   Type^ type,
   String^ propertyName,
   String^ foreignKeyName
) 

Parameters

type
The type of relationship parent class
propertyName
Child property name
foreignKeyName
Foreign key name
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

IAutoMap Interface
IAutoMap Members