Knight Data Access Layer
GetParentKeyName Method (AutoMap)




KellermanSoftware.NetDataAccessLayer Namespace > AutoMap Class : GetParentKeyName Method
Return name of parent foreign key if found, otherwise null.
Syntax
Public Function GetParentKeyName( _
   ByVal property As PropertyInfo _
) As String
Dim instance As AutoMap
Dim property As PropertyInfo
Dim value As String
 
value = instance.GetParentKeyName(property)
public string GetParentKeyName( 
   PropertyInfo property
)
public: string* GetParentKeyName( 
   PropertyInfo* property
) 
public:
String^ GetParentKeyName( 
   PropertyInfo^ property
) 

Parameters

property
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

AutoMap Class
AutoMap Members