SimpleObjectLayer.FromDataLayer(IDataLayer) Method
Creates a new SimpleObjectLayer and initializes it with a specified data access layer.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v25.1.dll
NuGet Package: DevExpress.Xpo
Declaration
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