Skip to main content
.NET Framework 4.6.2+

XPBaseObject Methods

Serves as a base for classes that represent persistent objects.
Name Description
AddChangedEventHandler(Object, IObjectChange) static This member supports the .NET Framework infrastructure and cannot be used directly from your code.
AddChangedEventHandler(Object, ObjectChangeEventHandler) static This member supports the .NET Framework infrastructure and cannot be used directly from your code.
AfterConstruction() Invoked when the current object is about to be initialized after its creation. Inherited from PersistentBase.
Delete() Deletes the persistent object and its aggregated objects from persistent storage.
Equals(Object, Object) static Determines 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. Inherited from PersistentBase.
Evaluate(CriteriaOperator) Evaluates the specified expression against the current instance of the persistent object.
Evaluate(String) Evaluates the specified string expression against the current instance of the persistent object.
EvaluateAlias(String) Evaluates an expression specified by the PersistentAliasAttribute attribute for the specified property.
Fit(CriteriaOperator) Checks whether the current instance matches the specified criteria.
Fit(String) Checks whether the current instance matches the specified criteria.
GetCustomPropertyStore(Object) static This member supports the internal infrastructure and isn’t intended to be used directly from your code. Inherited from PersistentBase.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current PersistentBase object. Inherited from PersistentBase.
GetMemberValue(String) Returns the value of the specified property.
GetModificationsStore(Object) static Returns an object that stores information about the modified properties when the Session.TrackPropertiesModifications option is enabled. Inherited from PersistentBase.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnSaving() protected Invoked when the current object is about to be saved. Inherited from PersistentBase.
RaiseChangedEvent(Object, ObjectChangeEventArgs) static 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.
Reload() Reloads the state of the specified persistent object from the data store.
RemoveChangedEventHandler(Object, IObjectChange) static This member supports the .NET Framework infrastructure and cannot be used directly from your code.
RemoveChangedEventHandler(Object, ObjectChangeEventHandler) static This member supports the .NET Framework infrastructure and cannot be used directly from your code.
Save() Saves the object to the data store.
SetMemberValue(String, Object) Sets the value of the specified property.
ToString() Returns a string which represents the current object. Inherited from PersistentBase.
See Also