static void Main(string[] args)
    {
        var d = new Defect()
        {
            Category = "bug", Status = "open"
        };
        var m = new DefectViewModel();

        m.CopyPropertiesFrom(d);
        Console.WriteLine("{0}, {1}", m.Category, m.Status);
    }