Thread: Column '*' is dependant on the object 'DF__*' - Changing int to double

  1. #1
    Banned
    Join Date
    Oct 2022
    Posts
    7

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

    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?
    Last edited by Salem; 10-21-2022 at 05:27 AM. Reason: Cleaned up the crayola

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 11-11-2018, 07:31 PM
  2. Changing the value of something through a double derefence
    By sammythesp3rmy in forum C Programming
    Replies: 7
    Last Post: 10-31-2013, 07:39 AM
  3. changing a string to a 'double' data type
    By Brian_Jones in forum C++ Programming
    Replies: 4
    Last Post: 10-31-2009, 05:59 PM
  4. Changing double time to double cost
    By chrismax2 in forum C++ Programming
    Replies: 2
    Last Post: 04-24-2004, 10:29 AM
  5. Changing single to double linked list
    By BR7 in forum C Programming
    Replies: 1
    Last Post: 09-06-2002, 07:21 PM

Tags for this Thread