Skip to main content
.NET 6.0+

Session.UpdateSchemaAsync Method

Name Parameters Description
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.
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.