.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.UpdateSchema Method

Name Parameters Description
UpdateSchema() none

Updates the storage schema according to the class descriptions that are listed in the assemblies that have been loaded into the application domain.

UpdateSchema(Assembly[]) assemblies

Updates the storage schema according to the class descriptions that are listed in the specified assemblies.

UpdateSchema(Boolean, XPClassInfo[]) doNotCreateIfFirstTableNotExist, types

Updates a data store's schema according to the class descriptions of the specified types.

UpdateSchema(Type[]) types

Updates a data store's schema according to the class descriptions of the specified types.

UpdateSchema(XPClassInfo[]) types

Updates the database schema to support the persistence of the objects with the specified metadata information.