Re: DataRelation
From: John Wood (spam_at_isannoying.com)
Date: 06/27/04
- Next message: Mr. B: "Re: ADO.net: 3 Data Set Questions (Issues)"
- Previous message: Shannon Broskie: "Performing column value changes when filling a dataset"
- In reply to: EijiTek: "Re: DataRelation"
- Next in thread: EijiTek: "Re: DataRelation"
- Reply: EijiTek: "Re: DataRelation"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 26 Jun 2004 23:12:22 -0400
Oh... well datarelations aren't really that useful if you want your database
to be scalable, are they.... You'd think they'd somehow link it up to the
sqlcommandbuilder, given that it has the columns it needs to request the
data.
Thanks.
--
John Wood
EMail: first name, dot, second name at priorganize.com
"EijiTek" <eijitek@comcast.net> wrote in message
news:yv2dneKYwKdhskPdRVn-uw@comcast.com...
> The data relation object only creates a relationship between the in-memory
> tables. In your example, if the customer table has been populated but the
> orders table is empty, calling the GetChildRows() method of any given
> DataRow will return an empty array. No data will be automatically
> downloaded since the data table has no knowledge of the origin of the data
> (ie: did the data come from a database via a DataAdapter or was it
manually
> added?).
>
> "John Wood" <spam@isannoying.com> wrote in message
> news:OqAfMz%23WEHA.2792@TK2MSFTNGP10.phx.gbl...
> > When you set up a DataRelation, does the data need to already be present
> in
> > the table, or will it query dynamically to fill up the data to fulfill
the
> > relationship?
> >
> > eg.
> > Customer is the parent table, orders it the child table. Orders is
empty.
> > I navigate from Custom to Order using a DataRelation, will it
> automatically
> > send out the SQL to request the related orders?
> >
> > --
> > John Wood
> > EMail: first name, dot, second name at priorganize.com
> >
> >
> >
>
>
- Next message: Mr. B: "Re: ADO.net: 3 Data Set Questions (Issues)"
- Previous message: Shannon Broskie: "Performing column value changes when filling a dataset"
- In reply to: EijiTek: "Re: DataRelation"
- Next in thread: EijiTek: "Re: DataRelation"
- Reply: EijiTek: "Re: DataRelation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|