Smartly Academy

Smartly Academy

The C# Lab

Reflection and Metadata — Building the ORM Mapping Engine

Your C# classes already describe their database schema. You just need to learn how to read them.

Anto Semeraro's avatar
Anto Semeraro
Mar 03, 2026
∙ Paid

There's a line of code I've written a thousand times without thinking about it:

var properties = typeof(Customer).GetProperties();

It looks harmless. Almost boring. But the first time I really understood what it does — not just what it returns, but what it means — something shifted in how I think about C#.

That line asks a running program to describe its o…

User's avatar

Continue reading this post for free, courtesy of Anto Semeraro.

Or purchase a paid subscription.
© 2026 Antonello Semeraro · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture