To update progress, as a temporary hack, I was able to add the following code to 'refresh' the saved entity...
if (!this.HasErrors)
{
this.userEntity.FetchUsingUCFirstNameLastName(this.userEntity.FirstName, this.userEntity.LastName);
}
You can see that this technique would only work so long as the table has a unique constraint other than the primary key. This is because I know first name and last name up front, therefore I can get the new User.Pk before DeviceEntity needs it when it saves.
I tried doing UserEntity.Refetch, but that just yeilds a sql statement like:
SELECT "USER"."USER_ID" AS "UserId", "USER"."FIRST_NAME" AS "FirstName", "USER"."MIDDLE_INITIAL" AS "MiddleInitial", "USER"."LAST_NAME" AS "LastName", "USER"."EMPLOYEE_NUMBER" AS "EmployeeNumber", "USER"."CREATE_DATE" AS "CreateDate", "USER"."CREATE_USER_ID" AS "CreateUserId", "USER"."UPDATE_DATE" AS "UpdateDate", "USER"."UPDATE_USER_ID" AS "UpdateUserId" FROM "USER" WHERE ( "USER"."USER_ID" = @UserId1)
Parameter: @UserId1 : Int32. Length: 4. Precision: 0. Scale: 0. Direction: Input. Value: 0.
UserId in this statement is not 0, so nothing gets found.
Still looking for a better solution.
Thanks!