Skip to main content
A newer version of this page is available. .

XpoDefault.GuidGenerationMode Field

Specifies how globally unique identifiers are generated (if the KeyAttribute.AutoGenerate property is true). The default value is FrameworkDefault. To provide a custom Guid primary key generation algorithm, set this field to Custom and assign a Func<Guid> delegate to the XpoDefault.CustomGuidGenerationHandler field. Refer to the GuidGenerationMode topic to see the example.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public static GuidGenerationMode GuidGenerationMode

Field Value

Type
GuidGenerationMode
See Also