Skip to main content
.NET 6.0+

SimpleObjectLayer.CreateObjectTypeAsync(XPObjectType, CancellationToken) Method

Asynchronously performs object layer specific operations that are required to create an XPObjectType record.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public Task CreateObjectTypeAsync(
    XPObjectType objectType,
    CancellationToken cancellationToken
)

Parameters

Name Type Description
objectType XPObjectType

An XPObjectType object specifying a valid persistent type.

cancellationToken CancellationToken

A CancellationToken object that delivers a cancellation notice to the running operation.

Returns

Type Description
Task

A Task that performs object layer specific operations that are required to create an XPObjectType record.

See Also