Skip to main content
.NET 6.0+

Session.SchemaInit Event


Please use DataLayer.SchemaInit event handler

Occurs after the data schema is initialized or updated.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo


[Obsolete("Please use DataLayer.SchemaInit event handler")]
public event SchemaInitEventHandler SchemaInit

Event Data

The SchemaInit event's data class is SchemaInitEventArgs. The following properties provide information specific to this event:

Property Description
Command Gets an SQL statement which can be executed while connected to an SQL data source.
Table Gets an object metadata the schema for which has been created in storage.


The SchemaInit event is raised each time XPO renders data schema to store persistent objects.

See Also