I'm wondering what the best feature(s) of the orm framework you use and what features you find yourself using most?
I wrote my own ORM. Features include:
Machine-generated code for each table, based on abstract table definitions
A library/framework, which acts on the table definitions and the run-time data, in order to implement ueful functions like:
- Create tables (or update table definitions)
- CRUD
- Triggered stored procedures which create history records when a table's contents are changed
- Support for tree-like data (using nested sets)
- Transforming application types (C# class instances) to SQL data records and vice versa
What is the reason you chose the framework you use?
I didn't want to use an existing ORM, because I feared that I might sooner or later find that it did't implement some feature that I wanted, and that I'd then find it difficult to add that feature.
I wanted to use an ORM, because I didn't want to write and maintain code for each individual table.