XPClassInfo Members

Serves as a base for classes that provide metadata information for a class.

Constructors

Name Description
XPClassInfo(XPDictionary) Initializes a new instance of the XPClassInfo class with the specified XPClassInfo.Dictionary property.

Properties

Name Description
AssemblyName Gets the name of the assembly that the class is declared in.
AssociationListProperties Gets a list of members that represent the "many" side of the association.
Attributes Gets the attributes for this type. Inherited from XPTypeInfo.
BaseClass When implemented in a derived class, gets the metadata information of the base class.
CanGetByClassType This property is intended for internal use.
ClassType When implemented in a derived class, gets the type of the class which is described by the current XPClassInfo object.
CollectionProperties Gets the IEnumerable interface which populates XPMemberInfo objects for the XPCollection type properties.
Dictionary Gets the XPDictionary object which the current XPClassInfo object belongs to.
FullName When implemented in a derived class, returns the full name of the class.
HasDescendants Gets whether the class described by the current XPClassInfo object has descendants.
IdClass Gets the metadata information for the persistent class which provides the key value for the current object.
IsAbstract Determines whether an instance of the current type is abstract.
IsObjectLoading Obsolete. Gets whether the object is currently being initialized.
IsPersistent Gets whether a class or member of this type is persistent. Inherited from XPTypeInfo.
IsVisibleInDesignTime Gets whether a property or class is visible at design time. Inherited from XPTypeInfo.
KeyProperty Gets information on the key property or key field.
Members Gets a collection of XPMemberInfo objects that are owned by the current persistent class metadata information and all its ancestors.
NullableBehavior Determines if nullable columns should be created when updating the database schema for the persistent class described by the current XPClassInfo object.
ObjectProperties Returns the IEnumerable interface which populates XPMemberInfo objects for properties with the IXPSimpleObject interface declaration.
OptimisticLockField Gets the metadata of the member that represents the optimistic lock field.
OptimisticLockFieldInDataLayer This member supports the .NET Framework infrastructure and cannot be used directly from your code.
OptimisticLockFieldInDataLayerName This member supports the .NET Framework infrastructure and cannot be used directly from your code.
OptimisticLockFieldName Gets the name of the system field that is used to control object locking for objects that have the object locking option enabled.
OptimisticLockingBehavior Specifies the persistent object's locking behavior.
OptimisticLockingReadBehavior Specifies how XPO behaves when reloading a changed object.
OwnMembers Gets a collection of XPMemberInfo objects that provide metadata information on all the members owned by the class.
PersistentBaseClass Gets the information about the nearest persistent parent class in the inheritance hierarchy.
PersistentProperties Gets the collection of persistent properties and fields owned by the current persistent class metadata information.
Table Gets the DBTable object which the public properties and public fields are saved in.
TableMapType Gets a value that specifies which table persistent properties and fields are saved to.
TableName Gets the name of the table in the data layer in which the object's data is stored.
TrackPropertiesModifications Specifies whether or not the persistent object properties modifications are tracked.

Methods

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