IsDelayLoaded

Posts   
 
    
paolo883
User
Posts: 9
Joined: 31-Jul-2007
# Posted on: 01-Jun-2008 18:48:43   

Hi,

is field property IsDelayLoaded supported in LLBLGENPRO 2.6?

Thanks

Paolo

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 01-Jun-2008 19:22:12   

Is that a Linq to Sql specific thingy? Because it's not linq related.

Frans Bouma | Lead developer LLBLGen Pro
paolo883
User
Posts: 9
Joined: 31-Jul-2007
# Posted on: 01-Jun-2008 21:05:49   

Otis wrote:

Is that a Linq to Sql specific thingy? Because it's not linq related.

Sorry, I meant the "Delay loaded" property you can explicitly set on fields in Visual Studio LINQ designer. I don't know where I took "IsDelayLoaded" :-)

Bye

Paolo

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 02-Jun-2008 09:41:40   

paolo883 wrote:

Otis wrote:

Is that a Linq to Sql specific thingy? Because it's not linq related.

Sorry, I meant the "Delay loaded" property you can explicitly set on fields in Visual Studio LINQ designer. I don't know where I took "IsDelayLoaded" :-)

Bye

Paolo

The 'linq designer' is the linq to sql designer, so no we don't support that property. 'Delay loaded' means that the entity can be lazy loaded. This is controlled differently in LLBLGen Pro, so there's no equivalent.

Frans Bouma | Lead developer LLBLGen Pro
paolo883
User
Posts: 9
Joined: 31-Jul-2007
# Posted on: 02-Jun-2008 11:41:30   

Otis wrote:

The 'linq designer' is the linq to sql designer, so no we don't support that property. 'Delay loaded' means that the entity can be lazy loaded. This is controlled differently in LLBLGen Pro, so there's no equivalent.

How is it controlled? My problem is that I have to work with a legacy database with binary fields that I don't want to load every time in the entity, and this feature is great for this purpouse.

Actually it's the only feature that I miss in current version of LLBLGENPRO simple_smile

Paolo

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 02-Jun-2008 11:46:31   

paolo883 wrote:

Otis wrote:

The 'linq designer' is the linq to sql designer, so no we don't support that property. 'Delay loaded' means that the entity can be lazy loaded. This is controlled differently in LLBLGen Pro, so there's no equivalent.

How is it controlled? My problem is that I have to work with a legacy database with binary fields that I don't want to load every time in the entity, and this feature is great for this purpouse.

Actually it's the only feature that I miss in current version of LLBLGENPRO simple_smile Paolo

It's called ExcludeFields simple_smile You can specify which fields to exclude (or which fields to include and thus exclude the rest) and later on fetch them into entities. See docs: using the generated code -> Adapter / Selfservicing -> Excluding / including fields for fetches.

You can also specify this in linq queries of course, See the Linq to LLBLGen Pro docs in the v2.6 manual for details. (General usage section)

Frans Bouma | Lead developer LLBLGen Pro