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

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.v21.1.dll


public void UpdateSchema(
    params XPClassInfo[] types


Name Type Description
types XPClassInfo[]

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


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

See Also