As far as articles go, you might check out http://www.martinfowler.com - I
believe there is a section in his ISA stuff on lazy loading. However, if by
"always get fresh data" you mean having real-time data, then it's not what
you are looking for.

Aaron

-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
Andreas Håkansson
Sent: Saturday, April 13, 2002 7:26 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Collection imperssination


Hiya,

I'm trying to make all the collection in my hierachical
object model, act as if they were real collections, but
instead be a nice wrapper for an underlaying database.

This is because I dont want to pre-populate my object
model to save resources and to make sure I always get
fresh data.

Does anyone have any examples, code, articles, suggestions
etc that they might want to share on how to do this in
the best possible way? I'm using a SQL Server 2000 database
to store the data

--
Andreas Håkansson
Student of Software Engineering
andreas (at) selfinflicted.org

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to