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
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.
Related GitHub Examples
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.