Skip to main content
.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.v24.1.dll

NuGet Package: DevExpress.Xpo

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 snippets (auto-collected from DevExpress Examples) contain references 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