Hi, i am using adapter and have 2 insertions per transaction (tables User and UserDetails, UserDetails has FK on table User). I have (simplified):
Adapter.StartTransaction();
UserEntity.InsertUser(user);
UserDetailEntity.InsertUserDetail(user.UserDetail[0]);
Adapter.Commit();
Insert just calls Adapter.SaveEntity(entity, true, false);
UserEntity is saved and SaveEntity returns true, which is ok. But, SaveEntity on UserDetailEntity returns false! Why is that? If i remove check for result, i can see UserDetailEntity is saved to database, although it returns false. Am I doing something wrong?