locked
Update instead delete RRS feed

  • Question

  • User188291263 posted

    I want when user click Delete,mark instance with IsDeleted=true,and update,instead delete.

    I tried to execute DynamicUpdate instead DynamicDelete as

            partial void DeleteState(State instance)
            {
                ExecuteDynamicUpdate(instance);
            }

    But instance only contain StateId and rest of properties are empty.
    Any ideas?

    Friday, August 29, 2008 3:54 PM

All replies

  • User1641955678 posted

    Not sure what's going on, but this is much more of a Linq To SQL question than specific to Dynamic Data.  Your best bet to locate the experts in the Linq Forum.  My guess is that it's not something that's supposed to be allowed, though there may be alternatives to achieve the same result.

    David

    Friday, August 29, 2008 8:22 PM