Hi Folks
Today i encountered an error during update records using EntityFramework 5.Fortunately we found a quick fix.
This is an error we encountered:
Unable to update the EntitySet Table because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation
In this quick post you are going learn the way to overcome the titled error.
Fix for an issue as shown below:
Simple solution to this error is to create database tables with primary keys.
Simple to fix.
To know more about MVC kindly go through with the links given below:
- http://www.dotnetpiper.com/2014/07/practical-usage-of-tempdata-and.html
- Smart Working With Custom Value Providers in ASP.Net MVC
- Invoke Action With Model Binders in MVC
- Extension Helpers Method in MVC
- Custom Button With TagBuilder Using MVC Razor Engine
- Precompiled Razor View Using RazorGenerator MVC and PreCompiledViewEngine in MVC 4
- RETURN MULTIPLE MODELS IN SINGLE VIEW IN MVC3
- CALL CONTROLLER ACTION METHOD FROM JQUERY USING AJAX
- EXECUTION ORDER OF FILTERS IN MVC 4 WITH PRACTICES: IMPORTANT FAQ
- MEANING OF SCAFFOLDING IN MVC
- REMOVE AMBIGUTY OF CONTROLLER NAMES IN MVC APPLICATION
- CUSTOM BUTTON WITH TAGBUILDER TECHNIQUE USING MVC RAZOR ENGINE
- CONVERSION HELPERS IN MVC RAZOR: VALIDATING POSTED DATA
Thanks
Sachin Kalia
0 comments :
Post a Comment