Hi, all..
There is a sub EntityCollection<ScItemEntity> depend on Entity Sc.
I can write as like as
foreach (ScItemEntity entity in Sc.ScItem)
entity.SaveFields();
And if there is another sub EntityCollection<PoItemEntity> depend on Entity Po
I can write as like as
foreach (PoItemEntity entity in Po.PoItem)
Entity.SaveFields();
but I should write the independent source to do that job.
because I can't convert EntityCollection<ScItemEntity> or EntityCollection<PoItemEntity> to a normal type.
How can I design a common function that can do it ?
thank you.