This project is read-only.

property change on an entity

Mar 2, 2011 at 9:35 AM

why am i getting only the generic propertychange event on an object and not the event on each property as shown in the documentation

Customer customer = Customer.SelectUsingPK(12);

     customer.FirstNameChanged +=
            new EventHandler(customer_FirstNameChanged);


am i missing something ?


Mar 2, 2011 at 10:38 AM

never mind , found it.

had to enable the respective property at the top level node of the model designer.


Mar 2, 2011 at 1:27 PM

That is right. You must enable the CustomChangeEvents property on the model root.