I agree with others that updating via service method calls is a better way.
But, your code updates only one field (NotifyFlag), so I think that the direct update is quite safe here.
-
DB Access from Code option should be Read Write
-
Table reference should be marked as updatable
-
To save changes in the code you need to use Db.SaveChanges() method.


