C++ C#

ItemObjects<I> Class

API Reference

Namespace: Semata.DataStore.ObjectModel

The Items class allows represents of those items of a given type, and allow them to be created and retrieved.

generic <typename I>
where I : ItemObject
public ref class ItemObjects

Constructors

Name Description
ItemObjects(ItemType^, DataStoreObject^, String^)

Constructs a new instance of ItemObjects

Methods

Name Description
Create()

Creates and returns an ItemObject of this type. The Item in the the underlying DataStore is only created when the ItemObject is written.

GetItemById(ItemId^)

Retrieve an item by its unique internal id.

GetItemObjectCollection()

Returns an ItemObjectCollection that allows the items of this type to be iterated through and items to be created and deleted

GetItems()

Returns a collection containing every Item of this type.

GetItemsByPrefix(String^, String^)

Returns a collection containing those Items of this type where an string attribute has a value that begins with a given prefix

GetItemsByValue(String^, Object^)

Returns a collection containing those Items of this type where an attribute has a given value

GetItemsByValueRange(String^, Object^, Object^)

Returns a collection containing those Items of this type where an attribute has a value within a given range

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.