Click or drag to resize
ItemExtensions Methods

The ItemExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberApply
Apply this item in the database
Public methodStatic memberAsFile(IReadOnlyProperty, IConnection)
Download the file represented by the property
Public methodStatic memberAsFile(IReadOnlyProperty, IConnection, Boolean)
Asynchronously download the file represented by the property
Public methodStatic memberClassStartsWith
Determine if the classification starts with one of the specified root paths
Public methodStatic memberEdit
Send an AML edit query to the database with the body of the Item tab being the contents specified
Public methodStatic memberFetchLockStatus
Retrieve the lock status from the database
Public methodStatic memberFirstOrNullItem(IEnumerableIReadOnlyItem)
Returns either the first item from the enumerable or a 'null' item (where Exists is false) if there are no items
Public methodStatic memberFirstOrNullItem(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
Public methodStatic memberHasValue(IReadOnlyAttribute)
Indicates that the attribute is neither null nor empty
Public methodStatic memberHasValue(IReadOnlyProperty)
Indicates that the property is neither null nor empty
Public methodStatic memberLazyMapT
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
Public methodStatic memberLock
Public methodStatic memberLockStatus
Public methodStatic memberCode examplePromote
Promote the itme to the specified state
Public methodStatic memberToXml
Renders an AML node to XML
Public methodStatic memberUnlock
Top
See Also