For convienience I've changed my tables' primary keys to the nvarchar
type. But now my views and controllers don't work in MVC.
If I manually add [Key]
attribute to Id column which isn't a PRIMARY KEY
will it work normally? How this change can hurt my application. What should I look out for?