Parameter with leading underscore in existing store procedure
We have update store procedure that we have to use t开发者_开发问答hat have the parameter as _ModifiedBy
.
EF create mapping and add p letter to the parameter name like p_ModifiedBy
, that I can not change.
_ModifiedBy
parameter was supplied.
Changing the parameter name to start with letter fixes the problem but there is a lot of logic based on that underscore.Try to remove the redundant "p" letter from the parameter definition in both CSDL and SSDL parts of the model (using XML Editor). Everything should work smoothly.
Unfortunately, these changes will be discarded after any Update Wizard from database call, it is a known limitation of this wizard.
精彩评论