Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Session.UpdateSchema(XPClassInfo[]) Method

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public void UpdateSchema(
    params XPClassInfo[] types
)

Parameters

Name Type Description
types XPClassInfo[]

An array of XPClassInfo objects that specify object metadata for which schema should be created in the data store.

Remarks

This method creates the database schema objects used for storing persistent objects whose metadata information is specified by the types parameter.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UpdateSchema(XPClassInfo[]) 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.

See Also