LoadSelect with automatially use join instead of multiple queries

Hi,
Is it possible to tell ormlite to automatically use fetch type join when calling LoadSelect?
This is a sample mapping…

        public string GraphId { get; set; }
        [References(typeof(ProfileImageEntity))] 
        public long PrimaryImageId { get; set; }

Thanks

1 Like

I don’t know what you’re asking, but LoadSelect only loads POCO References 1-level deep.

Its implementation isn’t configurable if that’s what you’re asking.

Im talking about 1 level. The question is of we can do it with one query.
and not 2+, (as I think its working now)…
Thanks

No, its implementation isn’t configurable, it requires an additional query per POCO Reference.

1 Like