¡@

Home 

c# Programming Glossary: defectviewmodel

C# - copying property values from one instance to another, different classes

http://stackoverflow.com/questions/3610891/c-sharp-copying-property-values-from-one-instance-to-another-different-classe

null values from an instance of Defect into an instance of DefectViewModel . I was hoping to do it with reflection using GetType .GetProperties.. following var defect new Defect var defectViewModel new DefectViewModel PropertyInfo defectProperties defect.GetType .GetProperties.. Should I maintain separate lists of Defect properties and DefectViewModel properties so that I can do viewModelProperty.SetValue viewModel..