Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v19.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the UpdateSchema(Assembly[]) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also