Using T4Scaffolding to Create DbContext and Repository from Domain Classes

You may already be familiar with the fact that ASP.NET MVC 3 tooling includes a scaffolding option that let’s you point to a domain class and automatically build a Controller, a set of Views and if it does not exist yet, an Entity Framework DbContext class expose that class. The controller CRUD code...

Read More...

New EF Validations Video on Pluralsight

My newest course is live on Pluralsight.com . This one is all about performing data layer validations in EF 4.1 (4.2, 4.3) using the Validation API that’s part of the DbContext. Data Layer Validation with Entity Framework 4.1+ Working with the DbContext Validation API (total 1 hr 54 m) Module 1...

Read More...

What do you want to see in Entity Framework?

A friendly reminder about the UserVoice site where you can suggest and vote on features you’d like to see in Entity Framework ( http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions ) or in WCF Data Services ( http://data.uservoice.com ). The EF team is wrapping up work...

Read More...

Vermont IT Jobs: SysAdmin at NRG Systems in Hinesburg (a cool company…c’mon do it!)

http://www.nrgsystems.com/ Hinesburg, Vermont Desktop/Systems Administrator Job Description Key Focus The Desktop/Systems Administrator is responsible for providing first line support to NRG’s information technology users; assuring that user’s IT resources are performing as required. This individual...

Read More...

Oracle Releases Provider with EF 4 Support (but not really EF 4.1 and EF4.2)

Oracle has finally released it’s version of ODP.NET that supports Entity Framework for use in production environments. This is great news for many developers! And they report that this release supports EF 4.1 and EF 4.2. That should mean Code First and DbContext but thanks to Frans Bouma sending...

Read More...

EMail Q&A: What about Entity SQL and why direct DB access?

I received this pair of questions about EF in email and thought I would share the questions and my reply. Q: I've read some articles about Code First, I've tried to do some samples and I'm going to read you last book. I'm surprised about 2 issues. The first is that it's possible to write native SQL code...

Read More...

Our Code First Ebook 1/2 price today on O’Reilly site

From @OReillyMedia: Ebook Deal of the Day (Dec 9, 2011): Programming Entity Framework: Code First - $7.49 (Save 50%) http://oreil.ly/swjSwq

Use Projections and a Repository to Fake a Filtered Eager Load

Entity Framework’s Include method which eager loads related data in a query does not allow sorting and filtering. People ask for this feature frequently. There is a way around the problem,  I wrote about it in  the June Data Points column in MSDN Magazine (Loading Related Data: http://msdn...

Read More...

Downloads for Code First book are online

The downloads samples are available for Programming Entity Framework: Code FIrst on the downloads page of the book’s website ( learnentityframework.com ). Rowan and I are busy working on the next book (Programming Entity Framework:  DbContext API) right now. Hopefully it will go into production...

Read More...

Programming Entity Framework 2nd Edition vs Code First Edition

I’ve had tweets and emails from readers asking if there is any point to reading the 2nd edition of Programming Entity Framework if they are only planning to use Code First and DbContext. (Before answering, I want to add a disclaimer that my response is not geared towards my desire to increase royalties...

Read More...