C++ C#

Item Class

API Reference

Namespace: Semata.DataStore

An instance of an ItemType. It can have Attributes and Associations as defined by its ItemType.

public ref class Item sealed

Methods

Name Description
AddAssociation(AssociationType^, Item^)

Associates this Item with another

AddAssociationByName(String^, Item^)

Associates this Item with another

AssociationExists(AssociationType^, Item^)

Is this item associated with another

AssociationExistsByName(String^, Item^)

Is this item associated with another

Delete()

Deletes this Item

GetAssociations(AssociationType^)

Gets all the Items associated with this one, by the AssociationType

GetAssociationsByName(String^)

Gets all the Items associated with this one, by the AssociationType

GetAttribute(AttributeType^)

Gets the value of an Attribute

GetAttributeByName(String^)

Gets the value of an Attribute

GetConnection()

The current Connection

GetItemId()

The id of this Item

GetItemType()

The ItemType of this Item

RemoveAssociation(AssociationType^, Item^)

Removes the association of this Item with another

RemoveAssociationByName(String^, Item^)

Removes the association of this Item with another

SetAttribute(AttributeType^, Object^)

Sets the value of an Attribute

SetAttributeByName(String^, Object^)

Sets the value of an Attribute

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.