Exemple #1
0
        public void GetStats(out int added, out int modified, out int deleted)
        {
            added    = 0;
            modified = 0;
            deleted  = 0;
            int kadd, kmod, kdel;
            var ds = MyDataSet;

            if (ds == null)
            {
                return;
            }
            foreach (var tablename in TableNames)
            {
                var table = ds.Tables[tablename];
                DataSetHelper.GetStats(table, out kadd, out kmod, out kdel);
                added    += kadd;
                modified += kmod;
                deleted  += kdel;
            }
        }
Exemple #2
0
        public void GetStats(out int added, out int modified, out int deleted)
        {
            DataTable table = GetTable();

            DataSetHelper.GetStats(GetTable(), out added, out modified, out deleted);
        }