Print Page | Close Window

What are "Dynamic Live Lists"?

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1443
Printed Date: 23-Apr-2024 at 3:09am


Topic: What are "Dynamic Live Lists"?
Posted By: winnow
Subject: What are "Dynamic Live Lists"?
Date Posted: 26-Aug-2009 at 5:12am
"Dynamic Live Lists" are shown in the feature lists of your silverlight and WinClient products, but I find no mention of dynamic live lists in either products documentation or here on the forums. Can anyone explain what they're about? Are they a little like the "Push" Data Updates to Clients feature that is listed for the enterprise version of WinClient?



Replies:
Posted By: GregD
Date Posted: 26-Aug-2009 at 6:47pm
This refers to in-memory lists that automatically include business entities based on rules, removing the need for the developer explicitly to add new or modified entities to the list.

The collection navigation properties generated for business entities by the Object Mapper are live lists; e.g. aCustomer.Orders always returns all of the Orders associated with aCustomer. You can add a new Order entity; associate it with aCustomer; and it will automatically be included in the set of orders returned by aCustomer.Orders, without your having to add it that list.

You can also define custom EntityListManagers where you specify the rules; e.g., you could define a list, myList, that you want to include all current-month Orders for Customers a, b, and c involving Products p, d, and q.  Instead of your having to add the appropriate Orders explicitly to MyList, you define an EntityListManager, myEntityListManager, tell it to manage your List myList, tell it what the rules are, and then relax and let it do the work.

If by any chance you use iTunes 8-), the difference between regular lists and live ones is like the difference between Playlists and Smart Playlists.



Print Page | Close Window