Skip to main content
.NET Framework 4.5.2+

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.v22.1.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.

Remarks

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the OidInitializationMode enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also