Hi,
I found the controller(server-side) generated by Radzen is Lazy-loading.
However, I use the same code in the custom method controller, it is Eager-loading.
This is the code.
How can I set it as Lazy-loading in custom function? Thank you.
Hi,
I found the controller(server-side) generated by Radzen is Lazy-loading.
However, I use the same code in the custom method controller, it is Eager-loading.
This is the code.
How can I set it as Lazy-loading in custom function? Thank you.
Sub properties are loaded if there is Include somewhere in the code. There is no code by default in the ServerMethodsController
- only what you've personally added:
Please use correct forum category - at the moment this thread is for Blazor server while you clearly use Blazor WebAssembly.
Hi @enchev
Yes, you are right. Other custom logic changed the object. Thank you and sorry for selecting the wrong category.