How to create DDL using PetaPoco or NPoco?

I just started using PetaPoco / NPoco in one of my projects and I must say that it does, however, seem like the library cannot generate DDL and create a table based on Poco. I know OrmLite can do this.

Is there a way / workaround that can be used, for example, to decorate poco, and then scripts of a specific DBMS are created based on attributes? e.g. Oracle, MSSql, etc.

thank

+3
source share
2 answers

No. PetaPoco seems (rightfully) intent on staying small and light, focusing on one thing (juxtaposing objects and IDb * concepts) and doing it well.

, , IMO , . Fluent Migrator - .

, ( PetaPoco/NPoco) , ().

+4

, , NPoco.T4 . , . Nuget.

-2

All Articles