TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Istudent Rana
1.4k
338
83.4k
Rearrange column in Db after adding new properties in class?
Aug 13 2019 8:40 AM
My application is using EF6 Code First approach.
I have a poco class Employee with three properties Id, Name and Salary
and this class is derived from base class with properties created and modified date.
This class has been already migrated and have table in Db with 5 columbs namely, Id, Name, Salary, CreatedDate and Modified Date.
Now I have to add new properties Enum gender in the Employee class.
While doing so and updating the database new column Gender is created after modified date.
How do i create this new column after Salary ?
I added Column Attribute and assign the order number in Employee calss as 0 for Id, 1 for Name, 2 for Salary and 3 for Gender
and run add-migration and update-database command but it did not work.
Reply
Answers (
1
)
how to remove double quotation in multiple lines in oracle
RDLC report filter by date