i tried to Add-Migration new StatsPoint system but nothing happens
Spoiler
//-------------------------------------
       [JsonIgnore, Column(nameof(StatAddAllocations))]
       public string StatAddJson
       {
           get => DatabaseUtils.SaveIntArray(StatAddAllocations, (int)Enums.Stats.StatCount);
           set => StatAddAllocations = DatabaseUtils.LoadIntArray(value, (int)Enums.Stats.StatCount);
       }
       [NotMapped]
       public int[] StatAddAllocations { get; set; } = new int[(int)Enums.Stats.StatCount];
       //----------------------------------------
I did "nofody". am i doing something wrong? thank you so much!
Question
mem981
i tried to Add-Migration new StatsPoint system but nothing happens
//-------------------------------------
       [JsonIgnore, Column(nameof(StatAddAllocations))]
       public string StatAddJson
       {
           get => DatabaseUtils.SaveIntArray(StatAddAllocations, (int)Enums.Stats.StatCount);
           set => StatAddAllocations = DatabaseUtils.LoadIntArray(value, (int)Enums.Stats.StatCount);
       }
       [NotMapped]
       public int[] StatAddAllocations { get; set; } = new int[(int)Enums.Stats.StatCount];
       //----------------------------------------
I did "nofody". am i doing something wrong? thank you so much!
Link to comment
Share on other sites
4 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