I'm currently developing a Windows 8 app which uses Azure for its database. In this database I have 4 tables:
PlaceGroup
Places
PlaceComments
PlaceEvents
I want to make some sort of account system, where the user is permitted to update/delete only his place, i.e. only the records with his id. Example:
I have a place with id=5
The PlaceComments table has these records table structure: id PlaceID CommentBody
first record:
1 5 "Some text here"
second record
2 12 "Some text here"
I should be ONLY able to update/delete the second record. I really don't have an idea how to do it, so I'm asking for some help.

