1. I want to use EF6"s Code First to create my application, but I have a field type in the database for text type, I would like to ask whether it can only be expressed as String type in Model at this time, if so, should I specify data annotation StringLength? In addition, I would like to ask, is there a way to represent the database field as an enumerated type or a Set type?
2. My database is sql server 2008R2, please know how to give me some advice, thank you!