Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OidInitializationMode Enum

Contains values specifying when a new GUID value is assigned to the BaseObject.Oid property.

Namespace: DevExpress.Persistent.BaseImpl

Assembly: DevExpress.Persistent.BaseImpl.Xpo.v24.2.dll

#Declaration

public enum OidInitializationMode

#Members

Name Description
AfterConstruction

Specifies that a new GUID value is assigned to the BaseObject.Oid property in the AfterConstruction method override.

OnSaving

Specifies that a new GUID value is assigned to the BaseObject.Oid property in the OnSaving method override.

#Related API Members

The following properties accept/return OidInitializationMode values:

#Remarks

These enumeration values are used to set the BaseObject.OidInitializationMode property.

See Also