I Used dotconnect for oracle in ormlite.
The below code is IDbDataParameter.ParameterName in devart.data.dll, the behavior of devart for oracle will change the ParameterName and removed the : , and the ormlite more source code depends on the ParameterName, like PrepareUpdateRowStatement method, and not take care of the ParameterName will changed by the dotconnect for oracle, how to solve it?
public override string ParameterName
{
get
{
string str = this.param;
if (str == null)
{
return string.Empty;
}
return str;
}
set
{
if (value != null && value.Length > 0 && value[0] == ':')
{
value = value.Substring(1);
}
if (this.param != value)
{
this.PropertyChanging();
this.param = value;
}
}
}