• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Chapter 3 mixedAccess documentation

 
Himai Minh
Ranch Hand
Posts: 1359
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, in chapter 3 mixedAccess example,

For the property access, the getter (getPhoneNumberForDb) is for saving the phone number to PHONE column in the DB table.
On the other hand, the setter (setPhoneNumberForDb) is for retrieving the phone number from the DB.

On the other hand, for the field access, the setter is for saving to DB the getter is for retrieving from DB.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic