Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Network:
Windows 2003 Server
>The business objects are related when you call the RegisterChildBizObj method of the parent. If you look in the jump start for Web Forms >Application C# under step 12 step 4 you will see the following code in the page_load event that registers the OrderDetail as a child of the >Order business object.
I read about the RegisterChildBizObj, but it was never clear what occured during a select of the parent records it only discussed that records were affected on Add, Delete and modify in a cascading down effect and back up in the case of rule violations.
How would a child business object work in the case of a Crew readonly page where I want the CrewType field to display the CrewType.TypeName and not the Crew.CrewTypeFK. Will I need to call Crew.GetRecordByPK( int crew ) and then make a call to CrewType.GetRecordByPK ( Crew.CreTypeFK )? Then the CrewType textbox properties would be BindingSource: CrewType BindingSourceMember: TypeName?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement