.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.v20.1.dll


public static SimpleObjectLayer FromDataLayer(
    IDataLayer dataLayer
Public Shared Function FromDataLayer(
    dataLayer As IDataLayer
) As SimpleObjectLayer


Name Type Description
dataLayer IDataLayer

An object implementing the IDataLayer interface.


Type Description

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

See Also