Does using Implicit / Explicit conversion operators violate Single Responsibility Pattern in favor of DRY?
问题 I need to convert between these two classes, and want to maintain DRY but not violate the Single Responsibility Pattern... public class Person { public string Name {get;set;} public int ID {get;set;} } public class PersonEntity : TableServiceEntity { public string Name {get;set;} public int ID {get;set;} // Code to set PartitionKey // Code to set RowKey } More Info I have some Model objects in my ASP.NET MVC application. Since I'm working with Azure storage I see the need to convert to and