I have created a class in a model such as follows:
public class Locations
{ [Key]
public int LocationID { get; set; }
public string Location { get; set; }
}
I want to create another class schedule in a model and call the above class primary key fields 'ID' in my schedule class
.Please can anyone give me a solution.
Thank you.
Manoj Bhatt
02-Feb-2016