ie I've written a small code-gen tool that basically will inspect a basic POCO and then spit out some code that produces something like this inside my DbContext class.
How do you feel about the EF 4.x POCO Entity Generator? Didn't it suit your needs? I've only used the Self-Tracking template, not the POCO one. However, out of curiosity I just generated some code with the POCO template to see what it looks like, and it's pretty "plain" with no dependencies upon anything in System.Data. Greg