I have a question regarding EF Code First with MVC. Currently I know how to create controllers and views out a model that has all the atributtes as native types such as (int, string, etc.).
What if I have a model that one its attributes is a type defined in another model in my project?
Something like
public class Partido
{
public int ID { get; set; }
public Seleccion Local { get; set; }
public Seleccion Visitante { get; set; }
public Resultado Marcador { get; set; }
}
Where Seleccion and Resultado are defined each one in the same model namespace of the project.