OData / ModelBuilder

A project to generate Edm (Entity Data Model) from CLR types
19 stars 19 forks source link

Please add more information to the following Exception #23

Closed anton-kirschhock closed 2 years ago

anton-kirschhock commented 3 years ago

In an Upgrade attempt from Odata 7.x to 8, we've encountered the Exception: System.NotSupportedException: Rebinding is not supported, without any clue which entitytype/entityset/navigationproperty. Could you include the entity type in the exception so we can debug our model in a more pratical manner?

Code which I am refering to is: https://github.com/OData/ModelBuilder/blob/33324f3be1f2c1e29880d69e5eac89524d0360a2/src/Microsoft.OData.ModelBuilder/Containers/NavigationSourceConfiguration.cs#L182