Share via


IEntityInstance Members

Include Protected Members
Include Inherited Members

Defines methods and properties to handle an External Item.

The IEntityInstance type exposes the following members.

Properties

  Name Description
Public property AdapterObject Gets the native data structure corresponding to this External Item. (Inherited from IInstance.)
Public property DataClass Gets the data class that this instance is obtained from. (Inherited from IInstance.)
Public property Entity Gets the external content type of this External Item.
Public property EntityAsDataTable Gets the External Item as a DataTable with a single row of data containing the fields in the External Item.
Public property EntityAsFormattedDataTable Exposes the External Item as a DataTable object with the formatting of the complex fields in the External Item.
Public property InstanceOperationMode Gets the operation mode that this External Item is working in.
Public property Item[String] Gets or sets the value of the field referred to by the dot notation. (Inherited from IFieldValueDictionary.)
Public property Item[IField] Gets or sets the value for the specified field. (Inherited from IFieldValueDictionary.)
Public property LobSystemInstance Gets the external system instance that this External Item belongs to.
Public property RelatedSpecificFinderName Gets the name of the specific finder this External Item is related to.
Public property TypeDescriptor Gets the type descriptor corresponding to the native data structure representing this instance. (Inherited from IInstance.)
Public property ViewDefinition Gets the view of this field value dictionary. (Inherited from IFieldValueDictionary.)

Top

Methods

  Name Description
Public method Associate(EntityInstanceCollection, IAssociation) Associates this External Item with the given External Items by using the given association.
Public method Associate(IEntityInstance, IAssociation) Associates this External Item with the given External Item by using the given association.
Public method CalculateHashCode Calculates the hash code from the values. (Inherited from IFieldValueDictionary.)
Public method CreateCollectionInstance Creates a new instance of the collection that the dot notation refers to. (Inherited from IFieldValueDictionary.)
Public method CreateInstance Creates a new instance of the object the dot notation refers to. (Inherited from IFieldValueDictionary.)
Public method Delete Deletes the External Item.
Public method Disassociate(EntityInstanceCollection, IAssociation) Removes the association between this External Item and the given External Items by using the given association.
Public method Disassociate(IEntityInstance, IAssociation) Removes the association between this External Item and the given External Item by using the given association
Public method Execute(IMethodInstance) Invokes a method instance. (Inherited from IInstance.)
Public method Execute(IMethodInstance, []) Invokes a method instance. (Inherited from IInstance.)
Public method FromXml Sets the values in this dictionary from specified XML. (Inherited from IFieldValueDictionary.)
Public method GetActionUrl Returns the URL of the specified action. (Inherited from IInstance.)
Public method GetAssociatedInstanceIdentity Gets the identity of the External Item that is associated with this External Item via the given association.
Public method GetAssociatedInstances(IAssociation) Gets the External Items associated with the given association.
Public method GetAssociatedInstances(IAssociation, IFilterCollection) Gets the External Items associated with the given association, using given filters.
Public method GetAssociatedInstances(IAssociation, OperationMode) Gets the External Items associated with the given association, using the given operation mode.
Public method GetAssociatedInstances(IAssociation, IFilterCollection, OperationMode) Gets the External Items associated with the given association, using the given operation mode and filters.
Public method GetCollectionSize Returns the size of the collection that the dot notation refers to. (Inherited from IFieldValueDictionary.)
Public method GetFormatted(String) Gets the value of the field with the specified dotted path after applying complex formatting.
Public method GetFormatted(IField) Gets the value of the specified field after applying complex formatting.
Public method GetIdentity Gets the identity of this External Item.
Public method GetSecurityDescriptor Gets the security descriptor for this External Item.
Public method GetStreamableField Gets the streamable field corresponding to the given StreamAccessor method instance name. (Inherited from IInstance.)
Public method GetStreamableFields Gets the collection for the streamable fields corresponding to the StreamAccessor method instances. (Inherited from IInstance.)
Public method SwitchView(String) Gets a different view of the external instance.
Public method SwitchView(String, Boolean) Gets a different view of the external instance, with an option to do a delayed call to the external system.
Public method ToXml Retrieves the values in XML format. (Inherited from IFieldValueDictionary.)
Public method Update Submits the changes made to the External Item.

Top

See Also

Reference

IEntityInstance Interface

Microsoft.BusinessData.Runtime Namespace