Category "t4"

How to add a property to an existing class programmatically?

I want to add another property public int ID { get; set; } to the class below using C#. I don't know if there is a way beside T4 or partial class. How about Cod

How compare CodeFunction.Access value?

I'm generating methods of partial classes. Using T4 Text Template At first, I'm looking for extra implemented methods in the interface. After that, reading acc