Table of Contents

Class XPDataObjectClassInfo

Namespace
DevExpress.Xpo.Metadata
Assembly
DevExpress.Xpo.v24.1.dll

This member supports the .NET Framework infrastructure and cannot be used directly from your code.

public class XPDataObjectClassInfo : XPClassInfo, IXPClassInfoProvider, IXPDictionaryProvider
Inheritance
XPDataObjectClassInfo
Implements
Inherited Members

Constructors

XPDataObjectClassInfo(XPClassInfo, string, params Attribute[])

Initializes a new instance of the XPDataObjectClassInfo class.

public XPDataObjectClassInfo(XPClassInfo baseClass, string className, params Attribute[] attributes)

Parameters

baseClass XPClassInfo

An XPClassInfo object which provides the metadata information of the base class.

className string

The class name.

attributes Attribute[]

An array of attributes.

XPDataObjectClassInfo(XPDictionary, XPClassInfo, string, params Attribute[])

Initializes a new instance of the XPDataObjectClassInfo class.

public XPDataObjectClassInfo(XPDictionary dictionary, XPClassInfo baseClass, string className, params Attribute[] attributes)

Parameters

dictionary XPDictionary

An XPDictionary object which contains the new XPDataObjectClassInfo object. This value is assigned to the XPClassInfo.Dictionary property.

baseClass XPClassInfo

An XPClassInfo object which provides the metadata information of the base class.

className string

The class name.

attributes Attribute[]

An array of attributes.

XPDataObjectClassInfo(XPDictionary, string, params Attribute[])

Initializes a new instance of the XPDataObjectClassInfo class.

public XPDataObjectClassInfo(XPDictionary dictionary, string className, params Attribute[] attributes)

Parameters

dictionary XPDictionary

An XPDictionary object which contains the new XPDataObjectClassInfo object. This value is assigned to the XPClassInfo.Dictionary property.

className string

The class name.

attributes Attribute[]

An array of attributes.

XPDataObjectClassInfo(XPDictionary, XmlNode)

Initializes a new instance of the XPDataObjectClassInfo class.

public XPDataObjectClassInfo(XPDictionary dictionary, XmlNode node)

Parameters

dictionary XPDictionary

An XPDictionary object which contains the new XPDataObjectClassInfo object. This value is assigned to the XPClassInfo.Dictionary property.

node XmlNode

An System.Xml.XmlNode object which represents a single node in the XML document.

Fields

DataObjectsAssembly

This member supports the .NET Framework infrastructure and cannot be used directly from your code.

public static readonly string DataObjectsAssembly

Field Value

string

DataObjectsBaseType

This member supports the .NET Framework infrastructure and cannot be used directly from your code.

public static readonly Type DataObjectsBaseType

Field Value

Type

Properties

AssemblyName

Gets the name of the assembly that the class is declared in.

public override string AssemblyName { get; }

Property Value

string

A string value which specifies the assembly name that the class is declared in.

BaseClass

Gets the metadata information of the base class.

public override XPClassInfo BaseClass { get; }

Property Value

XPClassInfo

An XPClassInfo object which provides the metadata information of the base class. null (Nothing in Visual Basic) if the XPClassInfo object provides a description of the class which is the root in a class hierarchy.

CanGetByClassType

This property is intended for internal use.

public override bool CanGetByClassType { get; }

Property Value

bool

CanPersist

protected override bool CanPersist { get; }

Property Value

bool

ClassType

Gets the type of the class.

public override Type ClassType { get; }

Property Value

Type

null (Nothing in Visual Basic)

FullName

Gets the full name of a class.

public override string FullName { get; }

Property Value

string

A string value which specifies the full name of the class.

OwnMembers

Gets a collection of XPMemberInfo objects that provide metadata information on all the members owned by the class.

public override ICollection<XPMemberInfo> OwnMembers { get; }

Property Value

ICollection<XPMemberInfo>

An array of XPMemberInfo objects.

SupportObjectsReferencesFromCustomMembers

protected override bool SupportObjectsReferencesFromCustomMembers { get; }

Property Value

bool

Methods

AddMember(XPMemberInfo)

Adds the specified member’s metadata information to the XPDataObjectClassInfo.OwnMembers collection.

public override void AddMember(XPMemberInfo newMember)

Parameters

newMember XPMemberInfo

The XPMemberInfo object to add.

ClearModifications(object)

Clears modifications made with the specified persistent object.

public override void ClearModifications(object theObject)

Parameters

theObject object

A persistent object whose modifications will be cleared.

CreateObjectInstance(Session, XPClassInfo)

protected override object CreateObjectInstance(Session session, XPClassInfo instantiationClassInfo)

Parameters

session Session
instantiationClassInfo XPClassInfo

Returns

object

HasModifications(object)

Checks if there are modifications in the specified persistent object.

public override bool HasModifications(object theObject)

Parameters

theObject object

A persistent object to be checked for modifications.

Returns

bool

true, if there are modifications; otherwise - false;