Share via


IEntityInstance Members

Include Protected Members
Include Inherited Members

Represents instances of business objects, for example, customer #88697 and order #1000 in a back-end business application. The most important implementor of this interface is AbstractEntityInstance, which in turn is subclassed by WebServiceEntityInstance and DbEntityInstance.

The IEntityInstance type exposes the following members.

Properties

  Name Description
Public property AdapterObject Gets the native data adapter object returned by the back-end business application. (Inherited from IInstance.)
Public property DataClass Gets the data class (entity) that this object is an instance of. (Inherited from IInstance.)
Public property Entity Gets the entity this is an instance of.
Public property EntityAsDataTable Gets the entity instance as a DataTable object with a single row of data containing the fields in the entity instance.
Public property EntityAsFormattedDataTable Exposes the entity instance as a DataTable object with formatting of the complex fields in the entity instance.
Public property Item[String] Gets the value of a field in the instance. (Inherited from IInstance.)
Public property Item[Field] Gets the value of a field in the instance. (Inherited from IInstance.)
Public property TypeDescriptor Gets the root type descriptor of the instance. (Inherited from IInstance.)
Public property ViewDefinition Gets the schema of the current view of the instance. (Inherited from IInstance.)

Top

Methods

  Name Description
Public method EntityAsDataRow Exposes the entity instance as a DataRow object in the specified DataTable object.
Public method EntityAsFormattedDataRow Exposes the entity instance as a DataRow object in the specified DataTable object with formatting of the complex fields in the entity instance.
Public method Execute(MethodInstance, LobSystemInstance) Executes a specified method instance on the entity instance. (Inherited from IInstance.)
Public method Execute(MethodInstance, LobSystemInstance, []) Overrides some or all of the arguments in the back-end method and executes it in the back-end application. (Inherited from IInstance.)
Public method GetActionUrl Gets the fully parameterized action URL populated with entity instance fields for the specified action.
Public method GetAssociatedInstances(String) Gets the associated entity instances for this entity instance for the association specified by the name.
Public method GetAssociatedInstances(Association) Gets the associated entity instances for this entity instance for the specified association.
Public method GetAssociatedInstances(Association, FilterCollection) Gets a filtered set of associated entity instances for this entity instance for the specified association.
Public method GetFormatted(String) Gets the value of the field with the specified name after applying complex formatting.
Public method GetFormatted(Field) Gets the value of the specified field after applying complex formatting.
Public method GetIdentifierValues Gets the identifier values of the entity instance.
Public method GetView Gets the same entity instance in the specified view.

Top

See Also

Reference

IEntityInstance Interface

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace