ParentRelationship/ParentBusinessObject - synchronization


Author
Message
Rogerio Mauri
Rogerio Mauri
StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
It considers three levels of relationship:

 a) TbLevelOne
 b) TbLevelTwo with TbLevelOne
 c) TbLevelThree with TbLevelTwo

It considers three edition forms now:

 a) FormTbLevelOne with:
  . tbLevelOneBO1
  . tbLevelTwoBO1
  . childFormDialog1 (FormTbLevelOne.tbLevelTwoBO1 <-> FormTbLevelTwoEditor.tbLevelTwoBO1)

 b) FormTbLevelTwoEditor
  . tbLevelTwoBO1
  . tbLevelThreeBO1
  . childFormDialog1 (FormTbLevelTwo.tbLevelThreeBO1 <-> FormTbLevelTheeEditor.tbLevelThreeBO1)

 c) FormTbLevelThreeEditor
  . tbLevelThreeBO1

It also considers that the relationships between the levels had been filled correctly.

 a) TbLevelTwo.ParentRelationship: TbLevelOneBO, (IdLevelOne) <--> (IdLevelOne)
 b) TbLevelThree.ParentRelationship: TbLevelTwoBO, (IdLevelTwo) <--> (IdLevelTwo)

The result was (Primary key/foreign key synchronization):
 
 a) FormTbLevelTwoEditor:  OK Smile
 b) FormTbLevelThreeEditor:  Not OK (Primary key of the TbLevelTwo automatically is not created in the TbLevelThree.) Crying

I am annexing a project example, with the database.

Rogério Mauri Smile



Attachments
TesteStrataFrame.zip (79 views, 1.00 MB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search