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 命名空间
.gif)
.gif)