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+

Session.SchemaInit Event

Obsolete. Occurs after the data schema is initialized or updated.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

[Obsolete("Please use DataLayer.SchemaInit event handler")]
public event SchemaInitEventHandler SchemaInit
<Obsolete("Please use DataLayer.SchemaInit event handler")>
Public Event SchemaInit As SchemaInitEventHandler
[Obsolete("Please use DataLayer.SchemaInit event handler")]
public event SchemaInitEventHandler SchemaInit
<Obsolete("Please use DataLayer.SchemaInit event handler")>
Public Event SchemaInit As SchemaInitEventHandler

Event Data

The SchemaInit event handler receives an argument of the SchemaInitEventArgs type. 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.

Remarks

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

See Also