IObjectLayerAsync.CreateObjectTypeAsync(XPObjectType, CancellationToken) Method
When implemented by a class, asynchronously creates an XPObjectType record.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v25.1.dll
NuGet Package: DevExpress.Xpo
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| objectType | XPObjectType | An XPObjectType object specifying a valid persistent type. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| cancellationToken | CancellationToken | null | A CancellationToken object that delivers a cancellation notice to the running operation. |
Returns
| Type | Description |
|---|---|
| Task | A Task that creates an XPObjectType record. |
See Also