Linq to SQL: System.InvalidCastException: Specified cast is not valid 遇到这个情况很可能是数据库里修改了字段类型,但忘记了刷新 Model 文件中相关表的映射。刷新一下就好。