Thanks Kevin,
Let me try to be simpler and clearer.
I want to programatically add and remove an Entity to/from an EntityList.
And then a Parent business object saves it.
There is no DataBinding going on with the EntityList.
I assumed mmBindingList
.AddNew() ... .EndNew() would add a row to the EntityList's business object's DataSet.
This is not the case.
And I assumed mmBindingList.RemoveAt(row) would remove/delete a row from the EntityList's business object's DataSet.
This is also not the case.
Is there a way to "refresh" the Entity's business object DataSet from it's EntityList?
Or better, "tie" The BO's EntityList to the BO's DataSet. Anyway, so a parent BO's save() saves the information in the EntityList...?
I.e., we have
DataSet to EntityListmmBindingList<RequestNoteEntity> eListRequestNote = oRequestNote.CreateEntityList();
Is there some way going the other direction?:
EntityList back to DataSet
DataSet dsRequestNote = oRequestNote.EntityList.CreateCurrentDataSet();
DataSet dsRequestNote = oRequestNote.CreateCurrentDataSetFromEntityList();
from: ------------------------
MM .NET Developer's Guide
Understanding Business Entity Objects
...
SetDataRow() should only be used with a "free standing" entity object (one that is not associated with a business object's Entity property).
...
-------------------------
Is the mmBusinessObject EntityList ... "free standing"?
Thanks!