DataObjectBase add status tracking

Topics: Feature requests
Jul 3, 2012 at 6:42 PM


I am new to Catel. When I deal with DataObjectBase I think if this class add status tacking like add IsNew, IsDelete status , it should lot help for master-detail data structure, at most time I need processing detail part that some set as new, some set as delete, currently IsDirty is not enough to tracking status. or any another idea I don't know.

Jul 4, 2012 at 6:09 PM

Might be a good idea, but we need more info before even considering implementing it.

For example, when should we consider an entity as IsNew. When it is being deserialized (but there are other moments that an object is deserialized). I think this completely depends on the repository. Therefore I think it is best to derive a class and implement it there depending on the repository.

Jul 4, 2012 at 9:07 PM

That is good idea. I has same solution like you said.