The requested page is not available for the requested platform. You are viewing the content for Default platform.

BaseObject.AfterConstruction() Method

Invoked when the current object is about to be initialized after its creation.

Namespace: DevExpress.Persistent.BaseImpl

Assembly: DevExpress.Persistent.BaseImpl.v18.2.dll

Declaration

public override void AfterConstruction()
Public Overrides Sub AfterConstruction

Remarks

The BaseObject class overrides this method to initialize the BaseObject.Oid property, when the BaseObject.OidInitializationMode is set to OidInitializationMode.AfterConstruction.

This method is not intended to be called from your code. However, when deriving from the BaseObject class, you may need to override this method to initialize new objects with default property values. For additional information, refer to the How to: Initialize Business Objects with Default Property Values in XPO help topic.

See Also