Link to home
Start Free TrialLog in
Avatar of ITsolutionWizard
ITsolutionWizardFlag for United States of America

asked on

entity framework

The type 'Edm.Int32' of the member 'RepNumber' in the conceptual side type 'Company.B2B.Model.Incentive' does not match with the type 'System.String' of the member 'RepNumber'  on the object side type 'Company.B2B.Model.Incentive'.

I got this error because I recently change one class name 'RepNumber' from int to string on .cs wcf application. No error occur when it is debugged. and I have to make includeExceptionDetailInFaults="true"
to open above error.

The application is using wcf, and entity framework. I just don't know much about that and see any experts can help. Again, the only change we make is datatype from int to string. This error occurs when the service is consumed.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

I got this error because I recently change one class name 'RepNumber' from int to string If RepNumber is an int why did you change it to string?
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial