ItemExtensions Methods |
The ItemExtensions type exposes the following members.
Name | Description | |
---|---|---|
Apply |
Apply this item in the database
| |
AsFile(IReadOnlyProperty, IConnection) | Download the file represented by the property | |
AsFile(IReadOnlyProperty, IConnection, Boolean) | Asynchronously download the file represented by the property | |
ClassStartsWith | Determine if the classification starts with one of the specified root paths | |
Edit |
Send an AML edit query to the database with the body of the Item tab being the contents specified
| |
FetchLockStatus |
Retrieve the lock status from the database
| |
FirstOrNullItem(IEnumerableIReadOnlyItem) |
Returns either the first item from the enumerable or a 'null' item (where Exists is false)
if there are no items
| |
FirstOrNullItem(IEnumerableIReadOnlyItem, FuncIReadOnlyItem, Boolean) |
Returns either the first matching item from the enumerable or a 'null' item (where Exists is false)
if there are no items which match the predicate
| |
HasValue(IReadOnlyAttribute) |
Indicates that the attribute is neither null nor empty
| |
HasValue(IReadOnlyProperty) |
Indicates that the property is neither null nor empty
| |
LazyMapT |
Maps an item to a new object. If there are properties which couldn't be found during the
initial mapping, the method will query the database and run the mapper again with the
database results
| |
Lock | ||
LockStatus | ||
Promote |
Promote the itme to the specified state
| |
ToXml |
Renders an AML node to XML
| |
Unlock |