我正在获取映射私有属性的异常。情况是这样:我在 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
可能是什么原因?
谢谢。