-
Type: Task
-
Resolution: Works as Designed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Problem
I have some experience of Java and Android. As far as know, the following are allowed.
`var person = Person('Lucas');
realm.write(() =>
);
// isManaged now can't change, following just is a way of I'm thinking
person.isManaged = false;
person.name = 'Mark';
realm.write(() => realm.add(person,update: true));`
when I get entity from database,I modify some properties then update it using transaction。
But when I just want to change it's properties without database. there are wrong.
RealmException: Error setting property Person.name Error: RealmException: Error code: 2005 . Message: Trying to modify database while in read transaction
Solution
No response
Alternatives
No response
How important is this improvement for you?
I would like to have it but have a workaround
Feature would mainly be used with
Local Database only