Windows 11 Column '*' is dependant on the object 'DF__*' - Changing int to double

mishrajicoder

New Member
In essence, I obtained a table in my EF database with the following properties:
Code:
public int Id { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public string Image { get; set; }
public string WatchUrl { get; set; }
public int Year { get; set; }
public string Source { get; set; }
public int Duration { get; set; }
public int Rating { get; set; }
public virtual ICollection<Category> Categories { get; set; }
When I convert the int of Rating to a double, I receive the following issue when updating the database:
Column 'Rating' is required by the object 'DF Movies Rating 48CFD27E'. ALTER TABLE ALTER COLUMN Rating failed because this column is used by one or more objects.
What exactly is the problem?
 
Back
Top