.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SimpleObjectLayer.FromDataLayer(IDataLayer) Method

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll

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