Andres,
Following on from
http://groups.google.com/group/CslaGenerator/browse_thread/thread/fb89668c1f699b71#
and our recent discussions I feel that the Fetch issue needs
addressing as the timestamp is invalid in the Fetch criteria.
My solution would be:
If an object has a timestamp column then
1. Create an additional criteria named CriteriaPK contianing just
theprimary key columns and excluding the timestamp column (i.e, same
aCriteria without timestamp)
2. Move the Fetch info from the Criteria criteria to the
newCriteriaPK.
If the object does NOT have a timestamp column then leave the code as
it is.
There are times when I would want to use this CriteriaPK on thedelete,
but am happy to leave the delete defaulting to using theCriteria
criteria.
(e.g. See DeleteSelf within an EditableChild which is correctly
usingjust the PK and ignores the timestamp column even when one
exists).
Bill