Can I use "using System.ComponentModel.DataAnnotations;" for console application? or it is only for ASP.Net and MVC model.
Asked
Active
Viewed 538 times
2
-
3Yes you can, Please refere the following reference https://stackoverflow.com/questions/6854759/how-to-use-system-componentmodel-dataannotations-in-wpf-or-winforms-application – Alpesh Vaghela Jan 08 '20 at 06:06
-
1Yes. you can. There is not limitation. This is not apart of any mvc.net related NUget. – Ravi Kumar Kasim Jan 08 '20 at 12:55