I've adapted Scott Beeler's C# templates to generate VB.Net code instead. I've also added a few extensions (documented in the notes for each template) and tidied the code up a wee bit. The templates currently generate against our entity framework, but there are minimal (documented) changes...