Lazy loading a field

Posts   
 
    
blackgold9
User
Posts: 8
Joined: 26-May-2006
# Posted on: 06-Jun-2006 20:31:13   

Hi, I have a picture entity which contains the key, content type, filesize etc, and content (a byte array). How can i make the byte array lazy load using the self-servicing template?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 06-Jun-2006 21:18:28   

That's not supported, unfortunately.

Frans Bouma | Lead developer LLBLGen Pro
blackgold9
User
Posts: 8
Joined: 26-May-2006
# Posted on: 06-Jun-2006 21:20:14   

Could i say, create another type specifically for the content, and have that added on to the picture entity? (So its seen as a related object, not part of it). Can THAT be lazy loaded?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 06-Jun-2006 23:12:37   

Yes, in a 1:1 relation you mean? (MainEntity 1:1 PictureEntity) that can be lazy loaded indeed simple_smile

Frans Bouma | Lead developer LLBLGen Pro