Hello, I have created a database to give with the migration system, I manage to use it ... it is linked to the character, the problem I encounter is that when the person loads the data is not not charge, on the other hand if I add an addition all the data is charged. I probably forgot a piece of code somewhere but I can't find it or again ..
Â
In Short:
- DB Works
- In load Player, not load my table
- If i add new raw in table, add and load in Player all data for player.
it's just the loading of the player that is problematic. and that does not load the link table
Question
Mimus
sorry for my english, i use a translator
Â
Hello, I have created a database to give with the migration system, I manage to use it ... it is linked to the character, the problem I encounter is that when the person loads the data is not not charge, on the other hand if I add an addition all the data is charged. I probably forgot a piece of code somewhere but I can't find it or again ..
Â
In Short:
- DB Works
- In load Player, not load my table
- If i add new raw in table, add and load in Player all data for player.
it's just the loading of the player that is problematic. and that does not load the link table
Â
I added in the Querry:
Â
I added in the modelBuilder (PlayerContext):
Â
and here is the class i use:
Â
thank you in advance for your help
Â
Â
EDIT 06/04/2020
I succeeded, but I don't know if it's the cleanest system compared to the engine ...
I call this function in "public static Player Load([CanBeNull] Player player)"
Â
Â
Edited by MimusAdd solution...
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now