When I generate my entity model, the generate classes contain a lot of messages like

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]

I have read this is used for TFS which we dont use and was wondering if there is any way I can stop these being generated. I appreciate I can just remove them however if I regenerate they will return.

This is a Database first code generation

Related posts

Recent Viewed