Back to Devexpress

SimpleObjectLayer.FromDataLayer(IDataLayer) Method

xpo-devexpress-dot-xpo-dot-simpleobjectlayer-dot-fromdatalayer-x28-devexpress-dot-xpo-dot-idatalayer-x29.md

latest1.6 KB
Original Source

SimpleObjectLayer.FromDataLayer(IDataLayer) Method

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

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

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

Parameters

NameTypeDescription
dataLayerIDataLayer

An object implementing the IDataLayer interface.

|

Returns

TypeDescription
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

SimpleObjectLayer Class

SimpleObjectLayer Members

DevExpress.Xpo Namespace