But when I try to access it in my modified ObjectContext T4 template with
Code: Select all
cls.GetProperty("GenerateInterface");
Using
Code: Select all
cls.GetExtendedProperties().FindProperty("GenerateInterface");
Code: Select all
cls.GetExtendedProperties().GetProperty("GenerateInterface");
But querying the collection with
Code: Select all
cls.GetExtendedProperties().FirstOrDefault(x => x.Name == "GenerateInterface")