Knight Data Access Layer
SetComposition Method (IAutoMap)




KellermanSoftware.NetDataAccessLayer Namespace > IAutoMap Interface : SetComposition Method
The type of composition parent class
Composition property name
Mark specified by name property as composition
Syntax
Sub SetComposition( _
   ByVal type As Type, _
   ByVal propertyName As String _
) 
Dim instance As IAutoMap
Dim type As Type
Dim propertyName As String
 
instance.SetComposition(type, propertyName)
void SetComposition( 
   Type type,
   string propertyName
)
void SetComposition( 
   Type* type,
   string* propertyName
) 
void SetComposition( 
   Type^ type,
   String^ propertyName
) 

Parameters

type
The type of composition parent class
propertyName
Composition property 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