Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V22.1
  • TdxEMFSession.CreateSchema(TClass[]) Method

    Creates a data store’s schema, checks if it matches the entity model, and adds missing data store tables and columns.

    Declaration

    procedure CreateSchema(const AClasses: array of TClass); overload;

    Parameters

    Name Type
    AClasses TClass

    Remarks

    This procedure accepts one or more entity classes whose declarations are checked against the connected data store’s schema. When using class inheritance, you can omit listing all entity classes in a hierarchy (starting from base classes) and list only final descendants, because they are sufficient for the CreateSchema procedure to build an entire hierarchy tree.

    See Also