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.

public class ItemObjects<I> where I : ItemObject

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.