I have been developing my Models "model-first" by using the EDMX designer. I'm rather fond of it, but wondering how I can use this process to apply attributes, specifically DataAnnotations, to my model classes like so:
<DisplayFormat(ApplyFormatInEditMode:=True, DataFormatString:="{0:d}")>
I'm guessing that if I type those manually onto my model classes it will get overwritten whenever I update my EDMX file. What is the correct process here?
Thanks!