IEntityInstance 成员 (Microsoft.Office.Server.ApplicationRegistry.Runtime)

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.

以下表格列出了由 IEntityInstance 类型公开的成员。

公共属性

  名称 说明
公共属性 Entity Gets the entity this is an instance of.
公共属性 EntityAsDataTable Gets the entity instance as a DataTable object with a single row of data containing the fields in the entity instance.
公共属性 EntityAsFormattedDataTable Exposes the entity instance as a DataTable object with formatting of the complex fields in the entity instance.

页首

公共方法

  名称 说明
公共方法 EntityAsDataRow Exposes the entity instance as a DataRow object in the specified DataTable object.
公共方法 EntityAsFormattedDataRow Exposes the entity instance as a DataRow object in the specified DataTable object with formatting of the complex fields in the entity instance.
公共方法 GetActionUrl Gets the fully parameterized action URL populated with entity instance fields for the specified action.
公共方法 GetAssociatedInstances 已重载。 Gets the associated entity instances for this entity instance, where this entity instance is the source entity in the relationship.
公共方法 GetFormatted 已重载。 Gets the value of the specified field after applying complex formatting.
公共方法 GetIdentifierValues Gets the identifier values of the entity instance.
公共方法 GetView Gets the same entity instance in the specified view.

页首

另请参阅

参考

IEntityInstance 接口
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间