I am new to ORMLite. In Entity Framework I can create my POCO files (by using CodeFirst) from an existing database- I read somewhere that this was possible in Ormlite- but I didn't find it within the documentation.
Please recommend a framework to create my poco classes in case ORMLite does not support this feature (I do not want to generate my pocos with EF!)
Thank you!
To get OrmLite.Poco.tt working, remove the blank lines at the end of OrmLite.Poco.tt
and OrmLite.Core.ttinclude
.
You can use the T4 templates to generate the POCOs. Have a look at
https://github.com/ServiceStack/ServiceStack.OrmLite/tree/master/src/T4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With