avif
1
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
mythz
2
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.
avif
3
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
mythz
4
No, its implementation isn’t configurable, it requires an additional query per POCO Reference.
1 Like