spit on that Thang CHO BOC
Mapperly Help how to map child CreateDto's?
I have a problem that I cannot solve at the moment
I still don't know how to map the properties of the child CreateDto's. Mapperly documentation I didn't find anything about it or just don't understand it. If someone can guide me or help me map this so I can do this to my other entities.
MapperProfile:
https://pastebin.com/nPFx5uEF
This is the DTO I am refering to:
https://pastebin.com/s48iuVfk
Entity:
https://pastebin.com/bcDuveLY
2 replies
BL Mapping help
I have finished my BL DTO's and want to map my DTO with the EF DAL
How do I map it when inside the create DTO is a another CreateDTO?
https://pastebin.com/8hmUZ2Ay
16 replies
I don't understand this warning: BL Mapping (Mapperly)
The member User on the mapping target type RestauraceNET8.Data.EF.DAL.Entities.Restaurace.RestauraceAkceStolu was not found on the mapping source type RestauraceNET8.Data.EF.BL.DTO.RestauraceDTO.Akce.RestauraceAkceStoluCreateDto
It's my first time trying out Mapperly I don't understand why it can't find the Id of the target
10 replies
BL - UserManager custom role
Let's say when registering a new user to the web api. For my use case (since I am doing role based access priority) I need to create a default role "User" I wonder how it is done normally.
I am thinking about doing it directly inside the program.cs in the server side
In my last project I did it like this hardcode alongside admin user
2 replies
Basics (How does an enterprise do it?) DAL Entity mapper
Currently I am doing a web app since my last small project in the same field (web app in C#)
I wanted to ask a difference between (In DAL or even BL)
I will be doing my entities like this
If something like... maybe abstract class or something else would work well.
I have another question in my last project i was using AutoMapper for my BL mapping. What I heard was Mapperly being faster if you can give some insight.
and also to challenge myself for future proofing what would be the most common enterprise environment solution would have been? (if they even chose C# at all)
21 replies
✅ Correct approach and used in real life OLTP -> OLAP ETLCode first approach!
Hello I am trying to learn on making my very own business Web app it can contain many modules like grocery app, self checkout, restaurant app with OLAP features like getting interesting pie charts and other telemetry... I have done my own OLTP already but there seems to be almost non existent C# tutorials on how to create ETL the Datawarehouse code first approach.
I was looking up BI snowflake but it looks like it's for people that already know what they are doing amd it's not code first.
Any suggestions?
I am currently asking these same questions in GPT O1 model so i would like to double check everything before I start doing things. Also note i have not seen any materials for doing OPS systems also...
33 replies