我不知道为什么迁移期间我的NSPropertyMapping中的valueExpression为null。我确保我的映射模型中的值表达式不为null,我不确定还有什么办法可以解决这个问题。
有人能够请我指出正确的方向来解决这个问题吗?
"(NSPropertyMapping), name creationDate, valueExpression (null), userInfo (null)",
"(NSPropertyMapping), name lastModifiedDate, valueExpression (null), userInfo (null)"
relationshipMappings (
"(NSPropertyMapping), name assignedProfessor, valueExpression (null), userInfo (null)",
"(NSPropertyMapping), name enrolledStudents, valueExpression (null), userInfo (null)" )