Back to list
Views:   0
Replies:  0
Archived
,
Reply 1
Indeed a magic number :-).  The default database holds 91 customer records which is where the number comes from.
The Silverlight Patterns application supports adding a new customer, but not uploading images. So, this check ensures a default silhouette image for each new customer.

Of course, a production type application would include the option to upload customer images and then the "if (id > 91)" condition would be removed. 

Hope this helps.
Dan McMillan, Sep 01, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas