There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
ObjectContainerDataSource should skip ReadOnly properties
Currently when ObjectContainerDataSource (OCDS) builds an instance of the bound type, if that type has readonly properties, and these properties are being data bound, an exception is thrown. This means that the author of a type is forced to make every property for that type read-write just to facilitate data binding with the OCDS. A developer is no longer able to express the constraint that a property should be readonly.
Therefore OCDS should be modified to skip readonly properties when building instances of the bound type rather than throw an exception.