EditableRoot with child that will only have one record

EditableRoot with child that will only have one record

Old forum URL: forums.lhotka.net/forums/t/2903.aspx


mikeclimbs posted on Friday, May 18, 2007

I have an editable root(Receipt) that has a child(ReceiptInfo).   ReceiptInfo has a one to one relationship to Receipt.

Is it possible for ReceiptInfo to be a child of Receipt without using a list. 

I tried adding ReceptInfo as a property of Receipt and Windows.forms databinding does not show any of Receipt Infos properties.

Thanks

Mike

RockfordLhotka replied on Friday, May 18, 2007

From an object perspective you can do what you want. But data binding won't automatically understand what you are trying to do, so you'll have to put them on the form separately I suppose.

Copyright (c) Marimer LLC