Hello Maya and thank you for the sample you sent me (I remember seeing it in the on-line docs).
I found my problem and the way I see it, it has nothing to do with the type of the data source. When I hear/read "type of the data source" I immediately
think of a Data Type
, like List, ObservableCollection, Dictionary etc. The problem was the way I had defined the base class, which had one constructor that expected all the fields to be passed in (as opposed to an empty constructor)
public Task(string name, string description)
this.Name = name;
this.Description = description;
In fact, the collection type can be of List type or ObservableCollection type and it works fine either way, the Add function that is. So the problem was the Constructor in the base class, not the collection nor the collection data type. Now that I think about this it makes sense but this did not click yesterday while looking at this problem. What I need to look into now is implementing the IEditableObject interface to allow the "cancel" operation.
I am going to post my code sample once I have it worknig.