Back to Devexpress

PersistentBase Members

xpo-devexpress-dot-xpo-dot-persistentbase-dot-underscore-members.md

latest5.6 KB
Original Source

PersistentBase Members

Serves as a base for classes that represent persistent objects.

Constructors

NameDescription
PersistentBase(Session, XPClassInfo)Initializes a new instance of the PersistentBase class.

Fields

NameDescription
DisableSmartCreateAssociationListStrategy staticControls how the XPCustomMemberInfo.GetValue method creates a collection object when the XPCustomMemberInfo.MemberType property is set to typeof(XPCollection<T>) or typeof(IList<T>).
UseUnsafeCreateCollectionStrategy staticSpecifies whether the return value type of the XPCustomMemberInfo.GetValue method can be different than the XPCustomMemberInfo.MemberType property value.

Properties

NameDescription
ClassInfoGets a value that provides access to the metadata information of a class gathered via Reflection.
Fields staticGets an object that contains field identifiers for Simplified Criteria Syntax.
IsDeletedIndicates whether the current persistent object is marked as deleted.
IsLoadingIndicates whether the object is currently being initialized.
SessionGets the session used to load and save persistent objects.

Methods

NameDescription
AfterConstruction()Invoked when the current object is about to be initialized after its creation.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the current object has the same settings as the specified object.
GetCustomPropertyStore(Object) staticThis member supports the internal infrastructure and isn’t intended to be used directly from your code.
GetHashCode()Gets the hash code (a number) that corresponds to the value of the current PersistentBase object.
GetModificationsStore(Object) staticReturns an object that stores information about the modified properties when the Session.TrackPropertiesModifications option is enabled.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
OnChanged(String, Object, Object) protectedInvoked after an object’s property has been changed.
OnDeleting() protectedInvoked when the current object is about to be deleted.
OnSaving() protectedInvoked when the current object is about to be saved.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string which represents the current object.

Operators

Name
Equality(CriteriaOperator, PersistentBase) static
Inequality(CriteriaOperator, PersistentBase) static

See Also

PersistentBase Class

DevExpress.Xpo Namespace