Class ArasOps
Commonly used Aras Operations
Inheritance
System.Object
    ArasOps
  Namespace: BitAddict.Aras
Assembly: BitAddict.Aras.dll
Syntax
public class ArasOps
  Methods
DeleteItem(String, String)
Delete a specific Item.
Declaration
public static void DeleteItem(string itemType, string id)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | itemType | |
| System.String | id | 
Exceptions
| Type | Condition | 
|---|---|
| ArasException | 
GetCurrentItem(String, String)
Get the item with 'is_current=1' of given type and 'keyed_name'
Declaration
public static Item GetCurrentItem(string type, string keyedName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | type | |
| System.String | keyedName | 
Returns
| Type | Description | 
|---|---|
| Aras.IOM.Item | 
RestoreModifiedProperties(Item)
Reset modified data to what it was before. (AML does not work)
Declaration
public static void RestoreModifiedProperties(Item item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Aras.IOM.Item | item |