Skip to main content
.NET 6.0+

SimpleObjectLayer.FromDataLayer(IDataLayer) Method

Creates a new SimpleObjectLayer and initializes it with a specified data access layer.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public static SimpleObjectLayer FromDataLayer(
    IDataLayer dataLayer
)

Parameters

Name Type Description
dataLayer IDataLayer

An object implementing the IDataLayer interface.

Returns

Type Description
SimpleObjectLayer

A SimpleObjectLayer object which is initialized with the dataLayer. null (Nothing in Visual Basic) is returned if the dataLayer is not specified.

See Also