Back to Devexpress

Session.UpdateSchema Method

xpo-devexpress-dot-xpo-dot-session-dot-updateschema.md

latest1.2 KB
Original Source

Session.UpdateSchema Method

NameParametersDescription
UpdateSchema()noneUpdates the storage schema according to the class descriptions that are listed in the assemblies that have been loaded into the application domain.
UpdateSchema(XPClassInfo[])typesUpdates the database schema to support the persistence of the objects with the specified metadata information.
UpdateSchema(Boolean, XPClassInfo[])doNotCreateIfFirstTableNotExist, typesUpdates a data store’s schema according to the class descriptions of the specified types.
UpdateSchema(Assembly[])assembliesUpdates the storage schema according to the class descriptions that are listed in the specified assemblies.
UpdateSchema(Type[])typesUpdates a data store’s schema according to the class descriptions of the specified types.