【发布时间】:2010-11-06 21:33:10
【问题描述】:
我在映射私有属性时遇到异常。情况如下: 我在 Entity.cs 中有这个: privat int m_Inactive;
在 EntityMap.cs 我有:
Map(x => Reveal.Property<Entity>("m_Inactive")).ColumnName.("INACTIVE");
但我收到此错误:
System.Reflection.TargetInvocationException: Exception has been thrown
by
the target of an invocation. ---> System.ArgumentException: Not a member access
可能是什么原因?
谢谢。
【问题讨论】: