类 ChangeSet
Change
命名空间: Realms
程序集:Realm.dll
语法
public class ChangeSet
属性
| 编辑本页 查看源代码DeletedIndices
获取上一个版本的IRealm
声明
public int[] DeletedIndices { get; }
属性值
类型 | 说明 |
---|---|
int [] | 一个数组,包含已删除对象的索引。 |
InsertedIndices
获取新插入的IRealm
声明
public int[] InsertedIndices { get; }
属性值
类型 | 说明 |
---|---|
int [] | 一个数组,包含插入对象的索引。 |
IsCleared
获取一个值,该值指示collection是否已被清除。调用Clear()等方法后,collection将被清除。
声明
public bool IsCleared { get; }
属性值
类型 | 说明 |
---|---|
bool |
|
备注
| 编辑本页 查看源代码ModifiedIndices
获取旧版本IRealm
声明
public int[] ModifiedIndices { get; }
属性值
类型 | 说明 |
---|---|
int [] | 一个数组,包含已修改对象的索引。 |
移动
获取collection中发生移动的行。
声明
public ChangeSet.Move[] Moves { get; }
属性值
类型 | 说明 |
---|---|
Move [] | Change |
备注
每个From索引都将出现在Deleted
NewModifiedIndices
获取新版本的IRealm
声明
public int[] NewModifiedIndices { get; }
属性值
类型 | 说明 |
---|---|
int [] | 一个数组,包含已修改对象的索引。 |