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
XPClassInfoAn XPClassInfo object which provides the metadata information of the base class.
className
stringThe 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
XPDictionaryAn XPDictionary object which contains the new XPDataObjectClassInfo object. This value is assigned to the XPClassInfo.Dictionary property.
baseClass
XPClassInfoAn XPClassInfo object which provides the metadata information of the base class.
className
stringThe 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
XPDictionaryAn XPDictionary object which contains the new XPDataObjectClassInfo object. This value is assigned to the XPClassInfo.Dictionary property.
className
stringThe 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
XPDictionaryAn XPDictionary object which contains the new XPDataObjectClassInfo object. This value is assigned to the XPClassInfo.Dictionary property.
node
XmlNodeAn 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
DataObjectsBaseType
This member supports the .NET Framework infrastructure and cannot be used directly from your code.
public static readonly Type DataObjectsBaseType
Field Value
Properties
AssemblyName
Gets the name of the assembly that the class is declared in.
public override string AssemblyName { get; }
Property Value
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
CanPersist
protected override bool CanPersist { get; }
Property Value
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
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
Methods
AddMember(XPMemberInfo)
Adds the specified member’s metadata information to the XPDataObjectClassInfo.OwnMembers collection.
public override void AddMember(XPMemberInfo newMember)
Parameters
newMember
XPMemberInfoThe XPMemberInfo object to add.
ClearModifications(object)
Clears modifications made with the specified persistent object.
public override void ClearModifications(object theObject)
Parameters
theObject
objectA persistent object whose modifications will be cleared.
CreateObjectInstance(Session, XPClassInfo)
protected override object CreateObjectInstance(Session session, XPClassInfo instantiationClassInfo)
Parameters
session
SessioninstantiationClassInfo
XPClassInfo
Returns
HasModifications(object)
Checks if there are modifications in the specified persistent object.
public override bool HasModifications(object theObject)
Parameters
theObject
objectA persistent object to be checked for modifications.
Returns
- bool
true, if there are modifications; otherwise - false;