Back to articles
Meet Trysil: a lightweight ORM for Delphi
How-ToSystems

Meet Trysil: a lightweight ORM for Delphi

via Dev.toDavid Lastrucci

If you have ever written a Delphi application that talks to a database, you know the routine: write SQL by hand, manage parameters, loop through datasets, and copy values into objects field by field. It works, but it is tedious and error-prone. Trysil is an open-source ORM for Delphi that eliminates that boilerplate. You decorate your classes with attributes, and the framework handles the rest — mapping, querying, inserting, updating, deleting. It is lightweight, attribute-driven, and built on top of FireDAC, so it works with SQLite, PostgreSQL, SQL Server, and Firebird out of the box. In this first article we will go from zero to a working CRUD application with SQLite. Installation You can install Trysil in three ways: GetIt — search for "Trysil" in the Embarcadero GetIt Package Manager Boss — boss install davidlastrucci/Trysil Manual — clone the GitHub repo , open Packages/<ver>/Trysil.groupproj , and build all After installation, point your project's Search Path to the compiled outp

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles