Share via


DbEntityInstance Class

NOTE: This API is now obsolete.

Represents an adapter-specific database entity instance.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.ApplicationRegistry.Runtime.AbstractInstance
    Microsoft.Office.Server.ApplicationRegistry.Runtime.AbstractEntityInstance
      Microsoft.Office.Server.ApplicationRegistry.SystemSpecific.Db.DbEntityInstance

Namespace:  Microsoft.Office.Server.ApplicationRegistry.SystemSpecific.Db
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class DbEntityInstance _
    Inherits AbstractEntityInstance
'Usage
Dim instance As DbEntityInstance
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class DbEntityInstance : AbstractEntityInstance

Remarks

The Runtime namespace contains classes and base classes that offer an intuitive, object-oriented interface to Business Data Catalog client applications.

TheIEntityInstance interface is the most useful object you will work with in the Runtime namespace. It abstracts the underlying data sources and insulates the clients from having to learn application-specific coding paradigms, and allows them to access all business applications in a single, simplified way. It is because of the IEntityInstance interface that you can work with a row of data from a database in just the same way as working with a complex .NET structure returned by a Web service.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DbEntityInstance Members

Microsoft.Office.Server.ApplicationRegistry.SystemSpecific.Db Namespace