All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.UpdateSchemaAsync Method

Name Parameters Description
UpdateSchemaAsync(CancellationToken) cancellationToken Asynchronously updates the storage schema according to the class descriptions that are listed in the assemblies that have been loaded into the application domain.
UpdateSchemaAsync(CancellationToken, XPClassInfo[]) cancellationToken, types Asynchronously updates the database schema to support the persistence of the objects with the specified metadata information.
UpdateSchemaAsync(CancellationToken, Boolean, XPClassInfo[]) cancellationToken, doNotCreateIfFirstTableNotExist, types Asynchronously updates the database schema to support the persistence of the objects with the specified metadata information.
UpdateSchemaAsync(CancellationToken, Assembly[]) cancellationToken, assemblies Asynchronously updates the storage schema according to the class descriptions that are listed in the specified assemblies.
UpdateSchemaAsync(CancellationToken, Type[]) cancellationToken, types Asynchronously updates a data store's schema according to the class descriptions of the specified types.