Session.UpdateSchema(Boolean, XPClassInfo[]) Method
In This Article
Updates a data store’s schema according to the class descriptions of the specified types.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public UpdateSchemaResult UpdateSchema(
bool doNotCreateIfFirstTableNotExist,
params XPClassInfo[] types
)
#Parameters
Name | Type | Description |
---|---|---|
do |
Boolean | true if the schema should not be created when the table that corresponds to the first item in the types array doesn’t exist in the data store; otherwise, false. |
types | XPClass |
An array of XPClass |
#Returns
Type | Description |
---|---|
Update |
An Update |
See Also