Add field in database (opennos dev help)

08/29/2017 09:09 prani95#1
I want to add a database field for my character table in opennos. I have added it in the database, then in DAL.EF i added the name of the field and {get; set;} (as other fields), but when i run opennos it says that i need to update the database. Help?
08/29/2017 10:29 0Lucifer0#2
Quote:
Originally Posted by prani95 View Post
I want to add a database field for my character table in opennos. I have added it in the database, then in DAL.EF i added the name of the field and {get; set;} (as other fields), but when i run opennos it says that i need to update the database. Help?
You are not supposed to change anything directly in database. Its ef code first so : modify the entity and the dto, add-migration and update database
08/29/2017 11:38 prani95#3
Thanks a lot :) it worked