WebServiceEntityInstance.EntityAsDataRow Method

Include Protected Members
Include Inherited Members

NOTE: This API is now obsolete.

When overridden in a derived class, exposes the entity instance as a DataRow.

Overload List

  Name Description
Public method EntityAsDataRow(DataTable) Obsolete. When overridden in a derived class, exposes the entity instance as a DataRow object in the specified DataTable object. (Inherited from AbstractEntityInstance.)
Protected method EntityAsDataRow(DataTable, Boolean) Obsolete. When overridden in a derived class, exposes the entity instance with or without fields with complex formatting as a DataRow object in the specified DataTable object. (Inherited from AbstractEntityInstance.)

Top

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 in to data rows only if absolutely necessary. Avoid using ADO.NET adapters that convert Business Data Catalog return types for maximum performance.

See Also

Reference

WebServiceEntityInstance Class

WebServiceEntityInstance Members

Microsoft.Office.Server.ApplicationRegistry.SystemSpecific.WebService Namespace