Skip to main content
.NET Framework 4.6.2+

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.2.dll

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