Fixed length string in Entity Framework?

.net entity-framework entity-framework-6

Question

Is it possible to specify a field's length in EF (6.1)?

I want to generate the following property aschar(2) :

public string LanguageId { get; set; }
1
3
1/9/2015 1:08:11 AM

Accepted Answer

ZZZ_tmp
7
1/9/2015 1:08:19 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow