Is it possible to set "UpdateCheck" to "LastUpdatedOn" field of parent object while updating children?
+1
A:
I am very confused by this question. The ColumnAttribute UpdateCheck can only be set to one of the following : Never, WhenChanged, Always.
If you are trying to timestamp a parent object when a property in a child object is changed, you can use partial methods to capture the change event and run other statements there.
public partial class MyObject
{
partial void OnMyPropertyChanging(string value)
{
// fire set other linq against parent here
}
}
Ash Machine
2010-06-24 22:07:47
Thanks ! You just hit the nail on the head.
Kthurein
2010-06-25 08:49:32