Lazyload byte[] property

Lazyload byte[] property

Old forum URL: forums.lhotka.net/forums/t/9811.aspx


Kevin Fairclough posted on Monday, November 29, 2010

Hi,

Has anyone implemented a lazy load property that is not a Csla type (in this case byte[]).  Is the best approach to use a Command object?

TIA

Kevin

 

RockfordLhotka replied on Monday, November 29, 2010

If it is just a load (just retrieving the value) then I'd use a ReadOnlyBase object to do the retrieval. ROB is slightly less overhead across the network than a CommandBase object.

Either would work though.

Copyright (c) Marimer LLC