Obj2Schema

Needed to create a Sql CREATE TABLE for an object another day and thought – I do this quite often.. So made a small lib that generates that for me.

I’m actually surprised there isn’t one already (not well-known, anyways, or I just don’t know about one). I could use EF code-first, for sure, but I’m not adding EF to a small app where i need to store and retrieve a single class – it’s just an overkill.  I’m using Dapper for querying, which is nice and small, and will use this to generate tables – no manual SQL, oh yeah!

So just added a library to github.

Link: https://github.com/etcoding/Obj2Schema

Leave a Reply

Your email address will not be published. Required fields are marked *