| ElementFactory Class |
Namespace: Innovator.Client
The ElementFactory type exposes the following members.
| Name | Description | |
|---|---|---|
| ElementFactory | Initializes a new instance of the ElementFactory class |
| Name | Description | |
|---|---|---|
| LocalizationContext |
Context for serializing/deserializing native types (e.g. DateTime, double, boolean, etc.)
|
| Name | Description | |
|---|---|---|
| Action | Create a new action attribute tag | |
| Aml | Create a new AML tag (for use with the ApplyAML method) | |
| And | Create a logical or AML tag used with 'get' queries | |
| Attribute(String) | Create a new attribute tag with the specified name | |
| Attribute(String, Object) | Create a new attribute tag with the specified name and value | |
| Classification | Create a new classification property | |
| Condition | Create a new condition attribute | |
| ConfigId | Create a new config_id property | |
| CreatedById | Create a new created_by_id property | |
| CreatedOn | Create a new created_on property | |
| Css | Create a new css property | |
| CurrentState | Create a new current_state property | |
| DoGetItem | Create a new doGetItem attribute tag | |
| Element | Create a generic AML tag given a name and the content | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FormatAmlValue | ||
| FromXml(String) | Return a result from an AML string | |
| FromXml(XmlNode) | Return a result from an AML node | |
| FromXml(Stream, String, IConnection) | Return a result from an AML stream indicating that it is the result of a query performed on a specific connection | |
| FromXml(String, String, IConnection) | Return a result from an AML string indicating that it is the result of a query performed on a specific connection | |
| FromXml(XmlNode, String, IConnection) | Return a result from an AML node indicating that it is the result of a query performed on a specific connection | |
| Generation | Create a new generation property | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Id | Create a new where id attribute | |
| IdList | Create a new idlist attribute | |
| IdProp | Create a new id property | |
| IsCurrent | Create a new is_current property | |
| IsNull | Create a new is_null attribute | |
| IsReleased | Create a new is_released property | |
| Item | Create a new Item AML tag | |
| KeyedName | Create a new keyed_name property | |
| LockedById | Create a new locked_by_id property | |
| MajorRev | Create a new major_rev property | |
| ManagedById | Create a new managed_by_id property | |
| MaxRecords | Create a new maxRecords attribute | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MinorRev | Create a new minor_rev property | |
| ModifiedById | Create a new modified_by_id property | |
| ModifiedOn | Create a new modified_on property | |
| NewId | Generate a new GUID id | |
| NewVersion | Create a new new_version property | |
| NoItemsFoundException(String) | Creates a 'No items found' exception | |
| NoItemsFoundException(String, Exception) | Creates a 'No items found' exception | |
| NoItemsFoundException(String, String) | Creates a 'No items found' exception | |
| Not | Create a logical not AML tag used with 'get' queries | |
| NotLockable | Create a new not_lockable property | |
| Or | Create a logical or AML tag used with 'get' queries | |
| OrderBy | Create a new orderBy attribute | |
| OwnedById | Create a new owned_by_id property | |
| Page | Create a new page attribute | |
| PageSize | Create a new pagesize attribute | |
| PermissionId | Create a new permission_id property | |
| Property | Create a new property tag with the specified name | |
| QueryDate | Create a new queryDate attribute | |
| QueryType | Create a new queryType attribute | |
| RelatedExpand | Create a new related_expand attribute | |
| RelatedId | Create a new related_id property | |
| Relationships | Create a new Relationships tag | |
| Result | Create a new Result AML tag | |
| Select(String) | Create a new select attribute | |
| Select(SubSelect) | Create a new select attribute | |
| ServerEvents | Create a new serverEvents attribute | |
| ServerException(String) | Create a new server exception | |
| ServerException(String, Exception) | Create a new server exception | |
| SourceId | Create a new source_id property | |
| State | Create a new state property | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Type | Create a new type attribute | |
| TypeId | Create a new typeID attribute | |
| ValidationException(String, IReadOnlyItem, String) | Create a new validation exception | |
| ValidationException(String, IReadOnlyItem, String) | Create a new validation exception | |
| ValidationException(String, Exception, IReadOnlyItem, String) | Create a new validation exception | |
| ValidationException(String, Exception, IReadOnlyItem, String) | Create a new validation exception | |
| Where | Create a new where attribute |
var aml = conn.AmlContext; // --- OR --- var aml = ElementFactory.Local; IItem myItem = aml.Item(aml.Type(myType), aml.Action(myAction)); IResult myResult = aml.Result(resultText); ServerException = aml.ServerException(errorMessage);