Following "using" directives are missing in the code generated by the DomainService template.
For DbContext:
using System.Data.Entity;
for ObjectContext:
using System.Data.Entity;
using OpenRiaServices.DomainServices.EntityFramework.ObjectContextExtensions;
Comments: Should be fixed in previous releases, this has been resolved for a long time
For DbContext:
using System.Data.Entity;
for ObjectContext:
using System.Data.Entity;
using OpenRiaServices.DomainServices.EntityFramework.ObjectContextExtensions;
Comments: Should be fixed in previous releases, this has been resolved for a long time