Пример #1
0
        public void Remove(List <RpcRecord> records)
        {
            var toRemove = records
                           .Where(r => r.Id >= 0)
                           .Select(r => r.Id)
                           .ToArray();

            _rpcConnection.Remove(_modelName, toRemove);
        }
Пример #2
0
 public bool Remove(int id)
 {
     return(connection.Remove(model, new int[1] {
         id
     }));
 }