Lounder
Lounder
CC#
Created by Lounder on 4/15/2024 in #help
ASP.NET Core - Database Model and ViewModel Validation
@ me for immediate response
18 replies
CC#
Created by Lounder on 4/15/2024 in #help
ASP.NET Core - Database Model and ViewModel Validation
Example validation attribute: [Range(1, 10)]
18 replies
CC#
Created by Lounder on 4/15/2024 in #help
ASP.NET Core - Database Model and ViewModel Validation
This way the request will get stopped before reaching the database
18 replies
CC#
Created by Lounder on 4/15/2024 in #help
ASP.NET Core - Database Model and ViewModel Validation
@TeBeCo Does this mean you need to write the same rules from the DB Model validation to the DTO Validation?
18 replies
CC#
Created by Lounder on 4/15/2024 in #help
ASP.NET Core - Database Model and ViewModel Validation
Please ping @ me
18 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
I'm limited to net 6
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
I will close this thread now, good night 👋
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
Okay I will work on that, thank you
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
Right
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
I agree
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
Gotcha
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
So it makes it useless to be seperate when you always call the business entity
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
We never get the address as a separate entity, it is always interlocked with business
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
Oh or maybe you mean that
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
And the business/es would pop up as results
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
I think an address should have a business because you could search up the street name or the city
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
Isn't this applicable to every one to one relationship
48 replies
CC#
Created by Lounder on 12/12/2023 in #help
✅ EF Core navigational properties
Oh so no mention in dbcontect as dbset?
48 replies