Hi,
We've just added our first stored procedure to our edmx file (we used the "function import" feature and set the return type to Boolean). It is a fairly straightforward stored proc that returns a single column and single row (i.e., a scalar value). The value in that one column is a boolean (bit). The .edmx file translates this into a return type of Collection(Boolean) when we look at the xml... When saving the .edmx, we said "OK" to update our DevForce model.
Next, we open our DevForce EF Object Mapper tool and click save, and we get the following error:
"Failed to save model file: 'C:\... [foo].ibedmx'
TypeName: 'Boolean' does not contain namespace: '[blah]'
It's as if the DevForce object mapper tool does not know what to do with a return type of Collection(Boolean). We get the same error when we change the return type to Int32 (or any built in System type).
When we change the return type to be one of our custom Entity types, the DevForce EF Object Mapper tool is happy.
Does this mean that DevForce does not support returning built in types (such as boolean and int32) from stored procedures????! Could this be?
Adam :)