Skip to main content
.NET 6.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.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public void UpdateSchema(
    params Assembly[] assemblies
)

Parameters

Name Type Description
assemblies Assembly[]

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

Remarks

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