I have my own ORM but i notice it preforms poorly when for example i get 100k results. For each iteration i reflect each type, its fields/properties and classes it uses (1 deep).
Reflecting a class 100k times get slow. Is there some kind of thing i can use to generate C# code so i dont need to use reflection? I could just rewrite the important select queries as regular sql instead of using my ORM but i thought i ask if there is a tool first.
I am using a mysql db.
-edit- Temp solution. dapper.net seems to have the performance i need on queries while my own orm creates tables, inserts and has addition execute features. Between the two i think i have EVERYTHING i need. (remember i need performance on selects which dapper offers, i dont need performance on inserts unless my site becomes huge)
Dapper.NET is great for selects and generates+compilers CLR code automatically to become really really fast.