AbstractEntityInstance.EntityAsFormattedDataTable Property
NOTE: This API is now obsolete.
When overridden in a derived class, gets the entity instance as a DataTable object with a single row of data containing the fields in the entity instance with formatting of the complex fields in the entity instance.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Public Overridable ReadOnly Property EntityAsFormattedDataTable As DataTable
Get
'Usage
Dim instance As AbstractEntityInstance
Dim value As DataTable
value = instance.EntityAsFormattedDataTable
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public virtual DataTable EntityAsFormattedDataTable { get; }
Property Value
Type: System.Data.DataTable
A DataTable object with a single row of data.
Implements
IEntityInstance.EntityAsFormattedDataTable
Remarks
When entity instances are transformed into data rows in a data table, they lose the special semantics attached to them in the Business Data Catalog, such as the ability to call instance methods on them. Therefore, you should transform entity instances into data rows only if necessary.
See Also
Reference
AbstractEntityInstance Members
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace