我正在获取异常映射私有属性.这是情况:我在Entity.cs中有这个:privat int m_Inactive;
在EntityMap.cs我有:
Map(x => Reveal.Property<Entity>("m_Inactive")).ColumnName.("INACTIVE");
Run Code Online (Sandbox Code Playgroud)
但我得到这个错误:
System.Reflection.TargetInvocationException: Exception has been thrown
by
the target of an invocation. ---> System.ArgumentException: Not a member access
Run Code Online (Sandbox Code Playgroud)
可能是什么原因?
谢谢.