SubSonic to the rescue
26 Dec 2010 Leave a Comment
This is a continuation to my post regarding my experience with LinqToSql(L2S), I was reading along other alternatives to the current ORM I am using
I saw someone mention SubSonic, so I started reading, Click Click Click.. Clicked some links and viola i found it!, it promises an easy interface and it uses “Text Template Transformation Toolkit”(T4)
the same technology L2S is using when generating the Models from the Database Schema. T4 itself is new to me, although i have dealt with code generation from my previous company likewise with my current company.
I haven’t really bothered investigating on how they approach Code Generation because I cant use it outside of my work’s scope here comes T4!! i’m getting really exited and the possibilities on where i can use it.
Anyway i’m getting off topic, so I learned today to save(persist) a record in SubSonic you just need to call .Save() how convenient is that?
the migration was pretty straight forward from L2S to SubSonic, just added some assemblies deleted my Save Hack in L2S to call .Save() pretty much that’s it!
here is the SubSonic website.



