You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class PhoneBookCategory
{
public string Id { get; set; }
public string Name { get; set; }
public TestObject SubProp { get; set; }
}
public class TestObject
{
public string StringProp { get; set; }
public int? IntProp { get; set; }
}
How would I write an Update script that updates SubProp.StringProp?
This is actually for UpdateMany, and when I use a script like this:
{SubProp.IntProp: 7}
I'm getting a
LiteDB.LiteException: 'Unexpected token . in position 66.'
Also, would it be possible to set the entire SubProp with the script syntax somehow?
The text was updated successfully, but these errors were encountered:
I have this entity
How would I write an Update script that updates SubProp.StringProp?
This is actually for
UpdateMany
, and when I use a script like this:{SubProp.IntProp: 7}
I'm getting a
Also, would it be possible to set the entire
SubProp
with the script syntax somehow?The text was updated successfully, but these errors were encountered: