Esempio n. 1
0
        public static Dictionary <Guid, int> GetChangesCount(Guid applicationId,
                                                             List <Guid> paragraphIds, bool?applied)
        {
            string spName = GetFullyQualifiedName("GetChangesCount");

            try
            {
                IDataReader reader = ProviderUtil.execute_reader(spName, applicationId,
                                                                 ProviderUtil.list_to_string <Guid>(paragraphIds), ',', applied);
                return(ProviderUtil.parse_items_count(ref reader));
            }
            catch (Exception ex)
            {
                LogController.save_error_log(applicationId, null, spName, ex, ModuleIdentifier.WK);
                return(new Dictionary <Guid, int>());
            }
        }