Joined: Fri Mar 27, 2015 3:04 am Posts: 3
|
I have two tables customer address ,customerOfferpurchase When customer has no address the id generated for customer address is 0.(means no record in customer address table)
so when we update customerOfferPurchase it internally update customer address as well.
But when it fond no record in customer address it try to store null inside that and causes exception. If some one has any idea how to avoid updating an entity when it is null inside database .Please share.
Adavance thanks for help.
|
|