tags:

views:

26

answers:

1

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
Thanks ! You just hit the nail on the head.
Kthurein