Skip to main content
All docs
V25.1
  • .NET 8.0+

    WebApiDataStoreService.UpdateSchema(Boolean, DBTable[]) Method

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

    Namespace: DevExpress.Xpo.DB

    Assembly: DevExpress.Xpo.v25.1.dll

    NuGet Package: DevExpress.Xpo

    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