Click here to Skip to main content
15,895,667 members

Comments by Gruja82 (Top 14 by date)

Gruja82 28-Nov-23 14:34pm View    
Yes you are wright. It's Blazor WebAssembly ASP.NET Core hosted.
Gruja82 28-Nov-23 0:56am View    
Thank for your answer. Thing is that only when I put a breakpoint, debugger shows string values in integer parameters. Everything works good. I'm sorry.
To answer to your comments:
1. Paging is done by invoking static method GetPaginatedResult(...) which calculates number of pages
based on input parameters.
2. I know that. I am using it in other entities that have relations with other entities, just forgot
to use it here.
3. UnitOfWork class wraps up all my specific repositories which in turn define all operations that can be applied to specific entity.
4. Yes you are wright, but if I am not mistaken, I am iterating over a IQueryable<t> collection which does not contain actual data, but query. GetPaginatedResult static method returns actual data.
If you like you can take a look at my GitHub repository: https://github.com/Gruja82/BlazorCompany.
Thank you again for your effort and again sorry.
Gruja82 2-May-22 12:00pm View    
After adding this line as first line in main(): system("cls"); everything works fine.
Gruja82 25-Jan-21 12:11pm View    
That example is ok for "regular" properties but in my case with child properties it doesn't work. For example i want to add error on SelectedProduct.Code if it is null or white space - doesn't work.
Gruja82 16-Feb-20 22:33pm View    
BazaContext is dbcontext. I tried to call SaveChanges() in the Execute method of the command but nothing happens