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

AddAssociation(String^, Item^)

Associates this Item with another

AssociationExists(AssociationType^, Item^)

Is this item associated with another

AssociationExists(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

GetAssociations(String^)

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

GetAttribute(AttributeType^)

Gets the value of an Attribute

GetAttribute(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

RemoveAssociation(String^, Item^)

Removes the association of this Item with another

SetAttribute(AttributeType^, Object^)

Sets the value of an Attribute

SetAttribute(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.