Partilhar via


IOfflineEntityInstance Members

Include Protected Members
Include Inherited Members

Represents an interface that defines methods and properties that handle the offline External Item.

The IOfflineEntityInstance 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. (Inherited from IEntityInstance.)
Public property EntityAsDataTable Gets the External Item as a DataTable with a single row of data containing the fields in the External Item. (Inherited from IEntityInstance.)
Public property EntityAsFormattedDataTable Exposes the External Item as a DataTable object with the formatting of the complex fields in the External Item. (Inherited from IEntityInstance.)
Public property HasAssociationErrors Gets whether the External Item has any association errors.
Public property InstanceOperationMode Gets the operation mode that this External Item is working in. (Inherited from IEntityInstance.)
Public property IsAuthoritative Gets whether the External Item is authoritative.
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. (Inherited from IEntityInstance.)
Public property RelatedSpecificFinderName Gets the name of the specific finder this External Item is related to. (Inherited from IEntityInstance.)
Public property SynchronizationStatus Gets an enumeration of the synchronization status of this External Item.
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. (Inherited from IEntityInstance.)
Public method Associate(IEntityInstance, IAssociation) Associates this External Item with the given External Item by using the given association. (Inherited from IEntityInstance.)
Public method CalculateHashCode Calculates the hash code from the values. (Inherited from IFieldValueDictionary.)
Public method CancelAllInstanceOperations Cancels all the operations of this External Item.
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. (Inherited from IEntityInstance.)
Public method Disassociate(EntityInstanceCollection, IAssociation) Removes the association between this External Item and the given External Items by using the given association. (Inherited from IEntityInstance.)
Public method Disassociate(IEntityInstance, IAssociation) Removes the association between this External Item and the given External Item by using the given association (Inherited from IEntityInstance.)
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. (Inherited from IEntityInstance.)
Public method GetAssociatedInstances(IAssociation) Gets the External Items associated with the given association. (Inherited from IEntityInstance.)
Public method GetAssociatedInstances(IAssociation, IFilterCollection) Gets the External Items associated with the given association, using given filters. (Inherited from IEntityInstance.)
Public method GetAssociatedInstances(IAssociation, OperationMode) Gets the External Items associated with the given association, using the given operation mode. (Inherited from IEntityInstance.)
Public method GetAssociatedInstances(IAssociation, IFilterCollection, OperationMode) Gets the External Items associated with the given association, using the given operation mode and filters. (Inherited from IEntityInstance.)
Public method GetAssociationOperations Gets the association operations where this External Item is either the source or destination of the association.
Public method GetAuthoritativeData() Gets the authoritative data of the External Item.
Public method GetAuthoritativeData(IAuthoritativeDataInformation) Gets the authoritative data of an External Item regardless of whether it is valid.
Public method GetCollectionSize Returns the size of the collection that the dot notation refers to. (Inherited from IFieldValueDictionary.)
Public method GetConflictData Gets the collection of fields that are in conflict between the External Item cache and the external system.
Public method GetFailedAssociationOperations Gets the collection of the failed association operations for which this External Item is either the source or the destination of the association.
Public method GetFailedOperation Gets the failed operation, if there is one.
Public method GetFormatted(String) Gets the value of the field with the specified dotted path after applying complex formatting. (Inherited from IEntityInstance.)
Public method GetFormatted(IField) Gets the value of the specified field after applying complex formatting. (Inherited from IEntityInstance.)
Public method GetIdentity Gets the identity of this External Item. (Inherited from IEntityInstance.)
Public method GetLastOperation Gets the most recent pending operation, if there is one.
Public method GetSecurityDescriptor Gets the security descriptor for this External Item. (Inherited from IEntityInstance.)
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 MakeObsolete Forces a cache refresh of the External Item by marking the authoritative data state as obsolete.
Public method ReplaceChanges Clears the error or conflict in the External Item and updates it with new values.
Public method RequestRefresh Forces a cache refresh of the External Item by marking the next refresh time as now.
Public method SwitchView(String) Gets a different view of the external instance. (Inherited from IEntityInstance.)
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. (Inherited from IEntityInstance.)
Public method ToXml Retrieves the values in XML format. (Inherited from IFieldValueDictionary.)
Public method Update Submits the changes made to the External Item. (Inherited from IEntityInstance.)

Top

See Also

Reference

IOfflineEntityInstance Interface

Microsoft.BusinessData.Offlining Namespace