The Entity Datasource controls were giving me a ton of compile time build issues when I recently converted our Webforms application from EF 4.4 to EF6. When trying to access the context object, I typically encounter the following errors:...e.Context
...I followed the identical instructions provided in: ...http://entityframework.codeplex.com/wikipag...
With Entity Framework 6.1 and SQL 2012, I'm using Visual Studio 2013....It works perfectly when I use Code First to generate my classes and tables in Dev.
Everything deploys when I use Web Deploy to publish to my third-party host, however no DB tables are created. The relevant username and password for a user who has access to create tables in the ...
Try the following code rather than adding in...context.Applicants.Add(objApplicant);... context.Entry(objApplicant).State = EntityState.Modified;
...Please try this code block: ...Update....... if (applicant != null)
applicant.FirstName = "TEST NAME";