Re: stepping through a collection in a foreach loop

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



>Microsoft didn't intend you to write
>properties which had the sort of quantum property that >observing the
value also changed it.

So what exactly is the right way of doing this?

Let's take Course.Students as an example. The number of Students can
change from one minute to next as they enroll or drop the course.

So I want the Course.Students property to be refreshed from the database
everytime it is referenced.

What is wrong with that approach. Why should Course.Students be
expected to stay static over the life time?





*** Sent via Developersdex http://www.developersdex.com ***
.



Relevant Pages

  • Re: QSTs Louisiana Loop
    ... I actually intend to string it up among some trees in the backyard in a sort of temporary fashion. ... before I embark on my first antenna build? ... I don't at present even know the feedpoint impedance but I intend to use RG8U for feedline if that's possible. ... As I started to collect parts needed for this antenna, I realize that lightweight aluminum tubing at 7/8, 3/4 and 5/8 inches is not available from Loews. ...
    (rec.radio.amateur.antenna)
  • Re: Mo, heres that heat seeking missive you ordered
    ... I intend to keep reposting this until I get an answer. ... I'm sort of ... fingerer AG thinks you are, but as far as I am concerned, you are just ...
    (rec.music.classical.guitar)
  • Re: Was Jesus a Gentile?
    ... i.e. if Jesus intended something, ... I wasn't suggesting that Paul said that Jesus was God because he ... Nor that "if we intend to ... I'm not interested in those sort of discussions at the ...
    (uk.religion.christian)
  • Re: Hey Didge!!
    ... you see yourself as some sort of ... Have a great weekend you silly little bugger - you know I intend to!! ... And don't you worry about Matty, he's one of the funniest contributors ...
    (rec.sport.rugby.union)
  • Re: Vintage Auctions
    ... I did not intend to spam you nor do I believe in spamming. ... realize this was not the place to post this sort of item. ...
    (rec.antiques)