Skip to main content

XPMemberInfo Members

Serves as a base for classes that provide access to member metadata.

Properties

Name Description
Attributes Gets the attributes for this type. Inherited from XPTypeInfo.
CollectionElementType Gets the XPClassInfo of the persistent object if the current member is a collection of these persistent objects.
Converter Gets the value converter.
DbDefaultValue
DefaultValue
DisplayName Gets the member’s display name.
IntermediateClass This member supports the internal infrastructure and is not intended to be used directly from your code.
IsAggregated Gets whether the member references other aggregated persistent objects.
IsAliased Gets whether a PersistentAliasAttribute attribute is applied to the property.
IsAssociation Gets whether the member sets up the relation.
IsAssociationList Indicates whether the current member represents the “many” side of the association.
IsAutoGenerate Gets whether the member is the auto-generated key.
IsCollection Gets whether the member represents a collection and is involved in associations.
IsDelayed Gets whether the property is marked as delayed.
IsExpandableToPersistent
IsFetchOnly Specifies if the member value can be saved to the database.
IsIdentity Gets whether the member is an auto-generated integer key.
IsKey Gets whether the member represents a key member.
IsManyToMany Gets whether a member is involved in a many-to-many association.
IsManyToManyAlias Indicates whether the ManyToManyAliasAttribute attribute is applied.
IsNonAssociationList Indicates whether the current member represents a collection that is not decorated with AssociationAttribute.
IsNullable Determines if a nullable column should be created when updating the database schema for the persistent class member described by the current XPMemberInfo object.
IsOptimisticLockingIgnored Indicates whether or not optimistic concurrency is ignored for the current member.
IsPersistent Gets whether a class or member of this type is persistent. Inherited from XPTypeInfo.
IsPublic When implemented in a derived class, gets whether the member is declared as public.
IsReadOnly Gets whether the member is read-only.
IsStruct Gets whether the member represents a data structure.
IsVisibleInDesignTime Gets whether a property or class is visible at design time. Inherited from XPTypeInfo.
ManyToManyRelatedProperty Obsolete. Gets the metadata information of the persistent field or property which represents the opposite side of a many-to-many association.
MappingField Gets the column’s name in the data store which the member’s value is stored in.
MappingFieldDBType Gets the MappingField‘s data type.
MappingFieldDBTypeName Gets the MappingField‘s SQL type name.
MappingFieldSize Gets the maximum number of characters that can be stored in a field which the member is mapped to.
MemberType When implemented in a derived class, gets the member’s type.
MergeCollisionBehavior Gets a value that indicates the behavior when merging changed objects (objects with different versions).
Name When implemented in a derived class, gets the member’s name.
Owner Gets the XPClassInfo object which owns this XPMemberInfo object.
ReferenceType Gets the XPClassInfo of the referenced object if the member is a reference to another persistent object.
StorageType Gets the type that the member’s value is saved as in the data store.
SubMembers Gets a collection of sub members.

Methods

Name Description
AddAttribute(Attribute) Adds a new attribute to the attribute collection of the type. Inherited from XPTypeInfo.
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.
ExpandId(Object) This member supports the .NET Framework infrastructure and cannot be used directly from your code.
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.
GetAssociatedCollectionProperty() Obsolete. This member supports the .NET Framework infrastructure and cannot be used directly from your code.
GetAssociatedMember() This member supports the .NET Framework infrastructure and cannot be used directly from your code.
GetAssociatedProperty() Obsolete. Gets the property metadata which is associated with the current XPMemberInfo object.
GetAttributeInfo(String) Returns the attribute with the specified name. Inherited from XPTypeInfo.
GetAttributeInfo(Type) Returns the attribute of the specified type. Inherited from XPTypeInfo.
GetConst(Object, XPMemberInfo) This member supports the internal infrastructure and is not intended to be used directly from your code.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetMappingClass(XPClassInfo) This member supports the .NET Framework infrastructure and cannot be used directly from your code.
GetModified(Object) Checks whether or not the member is modified.
GetOldValue(Object) Returns the old value of the member.
GetType() Gets the Type of the current instance. Inherited from Object.
GetValue(Object) When implemented in a derived class, returns the property’s value.
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.
IsMappingClass(XPClassInfo) This member supports the .NET Framework infrastructure and cannot be used directly from your code.
MakeGetExpression(Expression) This method is intended for internal use.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ProcessAssociationRefChange(Session, Object, Object, Object) This member supports the .NET Framework infrastructure and cannot be used directly from your code.
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.
ResetModified(Object) Resets the member’s modification.
SetModified(Object, Object) Marks the member as modified.
SetValue(Object, Object) When implemented in a derived class, sets the property’s value.
ToString() Returns a string which represents the current object.
See Also