Jason
Jason
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
Hey, so, I think i've got the hang of modifying the database, could you double check this and tell me if i'm on the correct track https://gist.github.com/Nashy1232/060b49b4c5b0e6f774da96ad608601c4
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
Again, Thanks for this help, you've helped me understand this way more then 2 days of googling trial & error
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
can confirm, it did work!
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
i went back and tested this, it does work with the DatabaseGeneratedOption
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
ooh, that would work i think
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
I've got an issue. I'm running the web server and database in docker containers. When I'm running the container my DbContext has to be server=mariadb however when I'm trying to add migrations and update the database from the IDE i have to change my DbContext to another connection string that uses server=localhost is there any way i can fix this?
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
I know with a GUID the chances are minuscule, but wouldn't that setter have to check to make sure that its actually unique?
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
but it looks like i can override the OnModelCreating method to have it work in the same way
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
It doens't look like it does support it
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
mariaDB, I'd have to double check that
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
i like your way better
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
entity.HasKey(e => e.CustomerId)
.HasName("PRIMARY")
.HasComputedColumnSql("SELECT UUID()");
entity.HasKey(e => e.CustomerId)
.HasName("PRIMARY")
.HasComputedColumnSql("SELECT UUID()");
right?
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
huh, how?
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
I think I'm going to keep the GenerateUniqueIdentifier method, but I think it needs to be reworked as I do want each account to have a unique account id that isn't auto-incremented
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
At the moment, my goal is to familiarise myself with the MVC style and the basics before even attempting to deal with authentication and the likes
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
and generate the API key independent of the account ID
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
but honestly, i'd be better of creating an API key and token that can be revoked
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
eventually I planend on having an API where you can provide account ID & a token
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
I guess originally I didn't want them just auto increment index
65 replies
CC#
Created by Jason on 10/27/2024 in #help
I require some help understanding MVC and Database loading/updating
Good question...
65 replies