Error with Navigation properties


Please try the following, add a new entity, add a navigation property (nothing more, not define any property of the navigation property) and try to save the model, the result is an error: Object reference not set to an instance of object.
Best regards

file attachments


aussiealf wrote Jan 5, 2012 at 11:25 PM

Hi Alain,

I personally hit this and have been working on it. Currently it is a bug with how the Default Values are handled.

I have made a version that disables the default values, what this means is that in the designer you might have a value in there but the generator might not take that into account until you change the value in the model.

So if you would like you can use this for now to define your model then hopefully we will have sorted out how to get around this issue with Default Values soon.

wrote Feb 13, 2013 at 7:45 PM