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

Errors

Errors cause a Platform::Exception to be thrown with the following HResult and Message

HResult Message
0x3905 AssociationType with this name exists
0x3904 AttributeType with this name exists

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.