EF4.1 用 .net 4.0 编译 如果用.net 4.5 编译 MaxLength 会找不到的 转载于:https://www.cnblogs.com/norsd/archive/2012/05/25/6359463.html