Esempio n. 1
0
        private List <Object> GetChildrenFromListMap(List <Dictionary <String, Object> > childrenMaps)
        {
            if (childrenMaps == null)
            {
                throw new ArgumentException(ExceptionMessage.NULL_BULK);
            }

            return(TransactionHelper.ConvertMapsToObjectIds(childrenMaps));
        }
Esempio n. 2
0
        public OpResult BulkDelete(String tableName, List <Dictionary <String, Object> > arrayOfObjects)
        {
            if (arrayOfObjects == null || arrayOfObjects.Count == 0)
            {
                throw new ArgumentException(ExceptionMessage.NULL_BULK);
            }

            List <Object> objectIds = TransactionHelper.ConvertMapsToObjectIds(arrayOfObjects);

            return(BulkDelete(tableName, null, objectIds));
        }