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 sealed class Item

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.