.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.UpdateSchema(Assembly[]) Method

Updates the storage schema according to the class descriptions that are listed in the specified assemblies.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll


public void UpdateSchema(
    params Assembly[] assemblies


Name Type Description
assemblies Assembly[]

An array of Assembly objects that represent the assemblies used to scan for persistent objects.


This method creates the database schema objects used for storing persistent objects that are defined in the specified assemblies. This can be useful when the assemblies are dynamically loaded by the application.

See Also