Skip to main content
A newer version of this page is available. .

XPClassInfo Methods

Serves as a base for classes that provide metadata information for a class.
Name Description
AddAttribute(Attribute) Adds a new attribute to the attribute collection of the type. Inherited from XPTypeInfo.
AddMember(XPMemberInfo) When overridden in a derived class, adds the specified member’s metadata information to the XPClassInfo.Members collection.
CheckAbstractReference() This member supports the XPO Framework infrastructure and is not intended to be used directly from your code.
ClearModifications(Object) Clears modifications made with the specified persistent object.
CreateMember(String, XPClassInfo, Attribute[]) Creates a new member metadata which is referenced to the specified XPClassInfo object.
CreateMember(String, XPClassInfo, Boolean, Attribute[]) Creates a new member metadata which is referenced to the specified XPClassInfo object.
CreateMember(String, XPClassInfo, Boolean, Boolean, Attribute[]) Creates a new member metadata which references the specified XPClassInfo object.
CreateMember(String, Type, Attribute[]) Creates a new member metadata.
CreateMember(String, Type, Boolean, Attribute[]) Creates a new member metadata.
CreateMember(String, Type, Boolean, Boolean, Attribute[]) Creates a new member metadata.
CreateNewObject(Session) Creates a new persistent object.
CreateObject(Session) Instantiates an existing persistent object upon loading it from the database.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindAttributeInfo(String) Searches for an attribute with the specified name. Inherited from XPTypeInfo.
FindAttributeInfo(Type) Searches for an attribute of the specified type. Inherited from XPTypeInfo.
FindMember(String) Returns information on the member with the specified name.
GetAttributeInfo(String) Returns the attribute with the specified name. Inherited from XPTypeInfo.
GetAttributeInfo(Type) Returns the attribute of the specified type. Inherited from XPTypeInfo.
GetCriteriaCompilerDescriptor(Session) This method is intended for internal use.
GetEvaluatorContextDescriptor() This member supports the XPO Framework infrastructure and is not intended to be used directly from your code.
GetEvaluatorContextDescriptorInTransaction() This member supports the XPO Framework infrastructure and is not intended to be used directly from your code.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetId(Object) Gets the value of the key property.
GetMember(String) Returns information on the member with the specified name.
GetObjectLoading(Session) Obsolete. Indicates whether the object is currently being initialized within the specified session.
GetPersistentMember(String) Returns information on the persistent member with the specified name.
GetPropertiesListForUpdateInsert(Session, Object, Boolean, Boolean) static This member supports the internal infrastructure and is not intended to be used directly from your code.
GetRefTypes() This member supports the .NET Framework infrastructure and cannot be used directly from your code.
GetShortAssemblyName(Assembly) static Gets the short name of the specified assembly.
GetType() Gets the Type of the current instance. Inherited from Object.
HasAttribute(String) Determines whether the type has the specified attribute. Inherited from XPTypeInfo.
HasAttribute(Type) Determines whether the type has an attribute of the specified type. Inherited from XPTypeInfo.
HasModifications(Object) Checks if there are modifications with the specified persistent object.
IsAssignableTo(XPClassInfo) Determines whether an instance of the current type can be assigned to an instance of the specified type.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveAttribute(Type) Removes the attribute of the specified type. Inherited from XPTypeInfo.
ToString() Returns a string that represents the full name of the class.
See Also