Skip to main content
All docs
V24.2
.NET Framework 4.6.2+

WebApiDataStoreService.UpdateSchema(Boolean, DBTable[]) Method

Calls the UpdateSchema method of the underlying IDataStore with error handling.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public OperationResult<UpdateSchemaResult> UpdateSchema(
    bool doNotCreateIfFirstTableNotExist,
    DBTable[] tables
)

Parameters

Name Type Description
doNotCreateIfFirstTableNotExist Boolean

true, if the schema should not be created when the table that corresponds to the first item in the types array does not exist in the storage.

tables DBTable[]

An array of DBTable objects that specify tables for which the schema should be created in the data store.

Returns

Type Description
OperationResult<UpdateSchemaResult>

An UpdateSchemaResult value that specifies the result of the update operation.

See Also