C++ C#

AddAssociationType(String^, String^, String^, ItemType^, String^, String^, String^) Method

API Reference

Namespace: Semata.DataStore

Class: ItemType

Creates an Association Definition

public:
AssociationTypePair^ AddAssociationType(String^ name, String^ description, String^ annotation, ItemType^ associateItemType, String^ associateName, String^ associateDescription, String^ associateAnnotation)

Parameters

Type Name Description
String^ name Name of the AssociationType from this ItemType
String^ description Description of the AssociationType
String^ annotation Annotation of the AssociationType
ItemType^ associateItemType The associated ItemType
String^ associateName Name of the AssociationType from the associated ItemType
String^ associateDescription Description of the AssociationType from the associated ItemType
String^ associateAnnotation Annotation of the AssociationType from the associated ItemType

Returns: AssociationTypePair^

Exceptions

Type Description
AssociationTypeWithThisNameExistsException AssociationType with this name exists
AttributeTypeWithThisNameExistsException AttributeType with this name exists
MISSING PAGE InvalidNameException

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.