The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.

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, 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.

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.

CreateNewObject(Session)

Creates a new persistent object.

CreateObject(Session)

Instantiates an existing persistent object upon loading it from the database.

Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) Determines whether the specified object instances are considered equal.
(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)

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)

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() Creates a shallow copy of the current Object.
(Inherited from Object)
ReferenceEquals(Object, Object) 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