Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

how to add [Something] Above a property

$
0
0

Hi

I have a property(s) I want to but a thingy above it like [NeedThis]

so

[NeedThis]
public stirng MyProperty {get;set;}

then i need a method which gets all the properties with this.

I know in entity framework its call dataannotations, but this is not EF related.

Whats it call and how do i do it?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>