DataClass Class

NOTE: This API is now obsolete.

Represents the base class for all entities.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MetadataObject
    Microsoft.Office.Server.ApplicationRegistry.MetadataModel.AccessControlledMetadataObject
      Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataClass
        Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity

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

Syntax

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

Remarks

DataClasses are an abstract concept. While Entities represent collections of concrete, persistent, related fields each with a fixed, persistent identity, DataClasses represent collections of non persistent related fields that each have a transient identity. You can think of a DataClass as:

DataClass + Identifier => Entity.

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

DataClass Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace