I would like to add a list of actor name list to a film.
Cinema class :
public int Id{get;set;}
public double Price{get;set;}
public ICollection<string> ActorName {get;set;}
So the problem is that the table's ActorName doesn't appear. I only have the id and the price. I also try to make a class Actor and Cinema. But I have the same result.
Cinema:
public int Id{get;set;}
public double Price{get;set;}
public ICollection<Actor> Actor{get;set;}
Actor :
public Id{get;set;}
public Name{get;set;}