developer-delphi-providers-orm-usage

Configure ProvidersORM Attributes mode for RTTI-based class-to-table mapping in Delphi or Free Pascal.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-providers-orm-usage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developer-delphi-providers-orm-usage
Source: https://github.com/cslsoftwares/ParamentersORM/tree/main/.cursor/skills/developer-delphi-providers-orm-usage_V1.0.0
Command: npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-providers-orm-usage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers adopt ProvidersORM in Attributes mode, enabling RTTI-based class-to-table mapping, and provides guidance for using EntityManager, IdentityMap, UnitOfWork, and AttributeRegistry.

Core Features & Use Cases

  • RTTI-based class-to-table mapping with attributes like [Table], [Field], [PrimaryKey], and [AutoIncrement].
  • EntityManager, IdentityMap, and UnitOfWork integration for CRUD operations and transactional workflows.
  • Guidance to consult canonical docs (Documentation/RegrasNegocio/orm-usage.md) and project-specific rules to ensure correct usage and avoid deprecated modes.

Quick Start

Consult the canonical orm-usage documentation and apply USE_ATTRIBUTES plus USE_ENTITY_MANAGER to initialize an EntityManager and map a sample entity.

Frequently Asked Questions about developer-delphi-providers-orm-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I map a Delphi class to a database table using RTTI attributes?

To implement UnitOfWork and IdentityMap in Delphi ORM, you must enable the USE_ENTITY_MANAGER flag. This initializes an EntityManager that integrates IdentityMap for cache tracking and UnitOfWork for transactional CRUD workflows across your mapped entities.

Does ProvidersORM work with Free Pascal for RTTI-based entity mapping?

Yes, ProvidersORM in Attributes mode works with both Delphi and Free Pascal projects. It relies on RTTI-based class-to-table mapping and requires consulting the project's canonical orm-usage documentation to ensure correct implementation across both environments.

What flags are required to set up an EntityManager in Delphi ORM?

The required flags to set up an EntityManager in Delphi ORM are USE_ATTRIBUTES and USE_ENTITY_MANAGER. You must apply both flags to initialize the manager and enable RTTI-based class-to-table mapping alongside IdentityMap and UnitOfWork integration.

Why should I consult canonical documentation before implementing ProvidersORM APIs?

You should consult canonical documentation, such as Documentation/RegrasNegocio/orm-usage.md, before implementing ProvidersORM APIs to ensure correct usage and avoid deprecated modes. The documentation provides project-specific rules required for proper ORM configuration.