Support PropertyChanged?

Oct 27, 2009 at 6:48 AM

I have Customers object

{

CustomerId (Key)

ContactName

CompanyName

}

 

when I change ContactName value only (not change CompantName property), the update sql command have update CompanyName property, like that "UPDATE Customers SET ContactName=@p1, CompanyName=@p2 WHERE CustomerId=@p0".

How can I force this Toolkit make update command like that "UPDATE Customers SET ContactName=@p1 WHERE CustomerId=@p0"?