Bug when renaming a parameter of a EF4 Method
Posted: Thu 14 Jul 2011 14:53
hi!
i think i've found a bug with the designer when we change a property of a method.
1 - i have imported a stored procedure from Oracle that contain 1 parameter
2 - if a test the method, it return something from the database
3 - then a rename the parameter inside the method (just lowercase the name) and i must do the same with the stored procedure in the store (lowercase the name)
4 - i run the application and it will crash when i call the method. I get:
The data reader is incompatible with the specified 'MTO.DDS.Data.EF.Rapport2'. A member of the type, 'NoAtr', does not have a corresponding column in the data reader with the same name.
any idea?
alex[/list]
i think i've found a bug with the designer when we change a property of a method.
1 - i have imported a stored procedure from Oracle that contain 1 parameter
2 - if a test the method, it return something from the database
3 - then a rename the parameter inside the method (just lowercase the name) and i must do the same with the stored procedure in the store (lowercase the name)
4 - i run the application and it will crash when i call the method. I get:
The data reader is incompatible with the specified 'MTO.DDS.Data.EF.Rapport2'. A member of the type, 'NoAtr', does not have a corresponding column in the data reader with the same name.
any idea?
alex[/list]