Thats what i am doing with the additional params to AddCollectionForSave().
uow.AddCollectionForSave(hierTypeColl,true,true);
uow.Commit(adapter, true);
After the above code, when I try to iterate through the hierTypeColl, my recently saved entity in this collection is out-of-sync.
I have one more question on the architecture. If I have a supertype - subtype relation where the PK of the supertype is auto-assigned by the db and that same PK is also the PK of the subtype (i.e. the FK on the subtype also is the PK for the subtype). If I were to persist a new subtype entity (filling in values for supertype & subtype fields other than the PKs) would LLBLGen be able to create the supertype first & then use the db assigned PK of the supertype to insert as the PK of the subtype. Or is there a better way to do this in my case. P.S. Not sure if it matters here but, the auto-assigned value of the supertype PK is the newsequentialid() function.
Schema:
Object (ObjectGuid PK - db assigned)
Employee (EmployeeGuid PK, FK - not assigned by db)