The object 'DF__*' is dependent on column '*' - Changing int to double

前端 未结 9 1453
面向向阳花
面向向阳花 2020-11-30 19:07

Basically I got a table in my EF database with the following properties:

public int Id { get; set; }
public string Title { get; set; }
public string Descript         


        
9条回答
  •  感情败类
    2020-11-30 19:17

    I had this error trying to run a migration to work around it I renamed the column and re-generated the migration using

    add-migration migrationname -force
    

    in the package manager console. I was then able to run

    update-database
    

    successfully.

提交回复
热议问题