spit on that Thang CHO BOC
BL Mapping help
Should I just put raw EF entities instead of CreateDto's?
The logic I wanted to concieve:
The waiter (role we getting from auth) opens up a table it will create using this DTO
He can Directly order items(polozky) on the specified table Id .
And the Action will be created immediately because I track Opening tables too.
The Entity I am refering to:
But when I use the CreateDto's I need to specify their Entity too (making sense that I would need it to specify) But that seems to me like Service rather than Mapping as a whole
16 replies
BL Mapping help
The thing is i don't have much experience with mapping and DTO's
Should I ignore it or Map it? The child DTO is the question since I have everything required since I had imagined it worked that way
I have to define(map) the whole create dto if that scenario happends or can I just opt to ignore it
16 replies
I don't understand this warning: BL Mapping (Mapperly)
Also One more question regarding DTO mapping do you think using CreateDTO inside another CreateDTO is better than using directly from Entity?
Entity attribute
or what I have currently?
10 replies
Performance loss on using united id?
this segment:
https://github.com/ThangChoBoc/DALandBL/blob/719f553617236e46f98e10093b35cf7cbc6412c7/DAL/Seeders/Seeders.cs#L84-L87
That's already the default? Why do you need that?
i think i put everything required so that might be case here (i forgot)
68 replies
Performance loss on using united id?
The seeders was a requirement for the course they wanted us to send the sln for them to run the database from scratch and when ran it should not be empty. In my case now with the new project I don't have this concern although I feel like if I want to sell them something they should be able to run locally without the seeders tbh. (maybe seeding for the items like producs)
Essentially the new project is a web app that will behave like this site which will be my main competitor if I manage to sucessfully make it work flawlessly (gokasa.cz)
68 replies
Performance loss on using united id?
the thing is i can do basics but i didnt how to use sql strings code might have to look into it if I dont want to seach one table with generated 70+ LOC SQL calls to get the data I wanted like in the Github section i uploaded. Thank you for the insight, and yes I am following this cookbook from my uni course(it's for an standalone app but still using it for a web app)
https://github.com/nesfit/ICS/tree/master/src/CookBook
68 replies