2 ms·
Nice work. +1 for .Net! This allows my web layer to have no project reference to my data layer, and forces my developers to explicitly call the logic/service l
by vyrotek 16y ago
Nice work. +1 for .Net!
This allows my web layer to have no project reference to my data layer, and forces my developers to explicitly call the logic/service layers every time they want some data.
I totally feel your pain for Linq. I'm a .Net guy myself and when we went full time on our startup we went with C# and I vowed to never fall into the traps and horrible mistakes I saw at past jobs using Linq2Sql and EF. Before POCO was available for EF I was masking the entities with Interfaces so that the web layer had no way to make 'extra queries'. I'd love to learn more about how you used T4/POCO/EF together to clean up this constant problem.
I've also wanted an excuse to use Unity for something... haven't had the chance yet.
- benliebert 16y agoYip for sure. It's too much to explain in a forum, but I've been meaning to post an article on how I've been using these technologies together. If anybody else is keen, just post a comment on the blog and then you'll be alerted when it's ready.