我在using
声明中遇到了问题。错误发布在下面。你们认为程序会产生什么错误?
public JsonResult Save_Record(UserModels model)
{
using (var con = new OracleConnection(ConfigurationManager.ConnectionStrings["DBEntities"].ConnectionString))
{
...
}
}
这是using
行中的错误:
An exception of type 'System.ArgumentException' occurred in Oracle.DataAccess.dll but was not handled in user code
Additional information: 'metadata' is an invalid connection string attribute