Group: Forum Members
Posts: 533,
Visits: 2K
|
Hi,
I tried this approach to add records. But I hit error when save. It is caused by
1. My ParentBO is PKIsAutoIncremented = true
2. When ChildBo.Add() called, ParentBO.PK is still null.
So, what is your suggestion? Update FK during BeforeSave event? Or any better way to do this?
Thank you
|