What POCO entities generator utilities exist for DAPPER?

c# dapper poco

Question

I am switching a repository layer from linq to dapper. In linq, I can use the SqlMetal.exe tool to generate the database entities and relationships. Is there a tool or utility that will generate POCO entities for dapper?

Accepted Answer

Dapper does not have a model generator, it acts as extension on your current IDBConnection.

You could use any other tool to generate the POCO's though. All Dapper needs is a class matching its public properties with your db columns.



Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why