Returns the
RelationAttribute for the given member. If the member does not
have an attribute set, null is returned.
Syntax
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As ITypeMappingProvider
Dim type As Type
Dim member As MemberInfo
Dim relatedType As Type
Dim value As RelationAttribute
value = instance.GetMemberRelationAttribute(type, member, relatedType)
|
Parameters
- type
- The persistent type that's mapping is created.
- member
- The member of the persistent type.
- relatedType
- The related object's type.
Return Value
An instance of the
RelationAttribute or null if the member does not have
an attribute set.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also