Back to Devexpress

XPClassInfo Members

xpo-devexpress-dot-xpo-dot-metadata-dot-xpclassinfo-dot-underscore-members.md

latest15.3 KB
Original Source

XPClassInfo Members

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

Constructors

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

Properties

NameDescription
AssemblyNameGets the name of the assembly that the class is declared in.
AssociationListPropertiesGets a list of members that represent the “many” side of the association.
AttributesGets the attributes for this type. Inherited from XPTypeInfo.
BaseClassWhen implemented in a derived class, gets the metadata information of the base class.
CanGetByClassTypeThis property is intended for internal use.
ClassTypeWhen implemented in a derived class, gets the type of the class which is described by the current XPClassInfo object.
CollectionPropertiesGets the IEnumerable interface which populates XPMemberInfo objects for the XPCollection type properties.
DictionaryGets the XPDictionary object which the current XPClassInfo object belongs to.
FullNameWhen implemented in a derived class, returns the full name of the class.
HasDescendantsGets whether the class described by the current XPClassInfo object has descendants.
IdClassGets the metadata information for the persistent class which provides the key value for the current object.
IsAbstractDetermines whether an instance of the current type is abstract.
IsPersistentGets whether a class or member of this type is persistent. Inherited from XPTypeInfo.
IsVisibleInDesignTimeGets whether a property or class is visible at design time. Inherited from XPTypeInfo.
KeyPropertyGets information on the key property or key field.
MembersGets a collection of XPMemberInfo objects that are owned by the current persistent class metadata information and all its ancestors.
NullableBehaviorDetermines if nullable columns should be created when updating the database schema for the persistent class described by the current XPClassInfo object.
ObjectPropertiesReturns the IEnumerable interface which populates XPMemberInfo objects for properties with the IXPSimpleObject interface declaration.
OptimisticLockFieldGets the metadata of the member that represents the optimistic lock field.
OptimisticLockFieldInDataLayerThis member supports the .NET Framework infrastructure and cannot be used directly from your code.
OptimisticLockFieldInDataLayerNameThis member supports the .NET Framework infrastructure and cannot be used directly from your code.
OptimisticLockFieldNameGets the name of the system field that is used to control object locking for objects that have the object locking option enabled.
OptimisticLockingBehaviorSpecifies the persistent object’s locking behavior.
OptimisticLockingReadBehaviorSpecifies how XPO behaves when reloading a changed object.
OwnMembersGets a collection of XPMemberInfo objects that provide metadata information on all the members owned by the class.
PersistentBaseClassGets the information about the nearest persistent parent class in the inheritance hierarchy.
PersistentPropertiesGets the collection of persistent properties and fields owned by the current persistent class metadata information.
TableGets the DBTable object which the public properties and public fields are saved in.
TableMapTypeGets a value that specifies which table persistent properties and fields are saved to.
TableNameGets the name of the table in the data layer in which the object’s data is stored.
TrackPropertiesModificationsSpecifies whether or not the persistent object properties modifications are tracked.

Methods

NameDescription
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) staticDetermines 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.
GetPersistentMember(String)Returns information on the persistent member with the specified name.
GetPropertiesListForUpdateInsert(Session, Object, Boolean, Boolean) staticThis 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) staticGets 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ParsePath(String)
ReferenceEquals(Object, Object) staticDetermines 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

XPClassInfo Class

DevExpress.Xpo.Metadata Namespace