c# - Can't use ResourceType - Reference installed -


i trying use:

system.componentmodel.dataannotations.displayattribute.resourcetype 

and visual studio not recognize it. have reference installed: references

and in model cannot use it: model

i have no idea why happening. can me?

thanks in advance

you have closing ) after name property. attribute needs be

[display(name = "name", resourcetype = typeof(...))] public int email { get; set; } 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -