Ubuntu下mono访问Oracle数据库出现异常
把C#项目移植到Linux下,采用mono,当程序在访问Oracle数据库(远程数据库)时出现了异常System.TypeInitializationException: An exception was thrown by the type initializer for System.Data.OracleClient.OracleConnection ---> System.InvalidProgramException: Invalid IL code in System.Data.OracleClient.OracleConnection:.cctor (): method body is empty.