This project has moved and is read-only. For the latest updates, please go here.

trim down the interchange, functiongroup, transaction model

Sep 10, 2012 at 7:16 PM

If I have an interchange object, that has many functiongroup objects, that has many transaction objects, there's really no way to trim up my interchange object so that he has just one functiongroup object with one transaction object.  Am I right?  

Interchange, exposes his list of functongroups, so I can clear them and add back one.

FunctionGroup doesn't expose his dictionary of Transactions, so there's no clearing them and adding back one.

Sep 10, 2012 at 8:25 PM

I have checked in changeset 19774 to expose Transactions as a List<Transaction> instead IEnumerable<Transaction>.

Having the dictionary caused other problems when users had transactions with duplicate control numbers.  Though this is not a valid X12, test data and sometimes production data would have this problem.

So hopefully this will fix your problem too.