public void RemoveRange <T>(IQueryable <T> range) where T : RealmObject
 {
     ConfigureInstance();
     _realm.Write(() => { _realm.RemoveRange <T>(range); });
 }
Пример #2
0
        public async Task RemoveRangeAsync <T>(IQueryable <T> items, ITransaction transaction) where T : RealmObject
        {
            Realms.Realm realm = await GetRealmAsync();

            await this.RunInTransactionAsync(_ => realm.RemoveRange(items), transaction);
        }