Skip to main content
.NET 6.0+

PersistentBase Methods

Serves as a base for classes that represent persistent objects.
Name Description
AfterConstruction() Invoked when the current object is about to be initialized after its creation.
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.
GetCustomPropertyStore(Object) static This 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) static Returns 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() protected Creates a shallow copy of the current Object. Inherited from Object.
OnChanged(String, Object, Object) protected Invoked after an object’s property has been changed.
OnDeleting() protected Invoked when the current object is about to be deleted.
OnSaving() protected Invoked when the current object is about to be saved.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string which represents the current object.
See Also