The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

XpoDataSource.Session Property

Gets or sets the Session used by the current data source control to load and save persistent objects.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll


public Session Session { get; set; }
Public Property Session As Session

Property Value

Type Description

A Session object connected to a data store.


A session which the data source control will work with can be assigned within a page's Init event handler. For recommendations on how to create and assign sessions for the XpoDataSource data source controls, refer to Tutorial 6 - A Simple Guestbook (ASP.NET).

See Also