c# auto generated partial class redefine property get set
问题 I'm moving from mainly classic asp to .NET. So this may be a stupid question, but I can't find an answer. I have an MVC App using Database First and Entity Framework. Now I would like to add some logic to the auto generated 'partial' classes. From what I have read it should be a matter of creating a new partial class with the same namespace and name. But when I do that I get an error "(This member is defined more than once)" and "Ambiguity between [partial class] and [partial class]". I