Suppose I have the class
public class Parent {
virtual string Name {get; set;}
}
public partial class Child : Parent {
}
When I use EF DB first, it generates the following:
public partial class Child {
string Name {get; set;}
}
How do I get it to use the 'override
' keyword for Name? I don't want to add that every time I update the DB.