Aiyoh
Aiyoh
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
Seems to have been an issue with sqlite (I had to manually change migration to delete id column then add instead of altering it)
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
I literally have one record in my users db, so I can remove it safely, but what if this happens later and I have 100+ records?
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
Or for example later if I get some issue and I need to run a migration for a change, how do I handle this without loss of data?
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
Is it possible to force the migration to delete all the records that cant be migrated?
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
So I ran the migration changed from string to int and I get datatype mismatch errors
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
No I was watching the course for 6-7 days but worked on the project for 3 days max
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
No idea what the benefit was
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
He used the mediatr package
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
the course I watched used the CQRS pattern which I didnt quite get the benefit from
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
everyone does it like this at my uni*
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
I think its safer to have repository like this since everyone does it, but I'll keep in mind that its not the best approach here
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
but we need to use some sort of a pattern thats common
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
no
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
this is too much info for me ive literally used aspnet apis for 3 days max
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
I think our uni wants us to have a certain pattern like repository even though i didnt see the use of it
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
So I need a service called UserService where I'll have methods like GetUserByEmailAsync and Ill usee the DbSet thing
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
So I dont need this at all
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
Chat gippity persuaded me
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
I have no idea
221 replies
CC#
Created by Aiyoh on 3/27/2025 in #help
EF attributes vs built-in C# keywords (like required). Differences and when to use?
But this is fine I'm not gonna deploy this to production of 10000 users
221 replies