Class ItemWithContainers
Base class providing container information
Implements
Inherited Members
Namespace: IAI.DT.DataModel
Assembly: IAI.DT.DataModel.dll
Syntax
public class ItemWithContainers : DatabaseItem, IDataItem
Constructors
ItemWithContainers()
Declaration
public ItemWithContainers()
Properties
ContainerId
The unique ID of the containing data item
Declaration
[JsonProperty]
[Obsolete("Moved to Containers list")]
public string? ContainerId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
For example, an asset will have it group ID as ContainerId
Containers
The unique identifiers of each of the containers to which this item belongs.
Declaration
[ExcludeFromMappedModel("Not required, causes stack overflow!")]
[JsonIgnore]
public IReadOnlyList<string> Containers { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |