You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use the oracle driver with simplecrud to do an insert everything works fine. If I use an ODBC connection for oracle to do an insert with simplecrud it scrambles the parameters. For example
public class testclass
{
[Key]
public int keycolumn { get; set; }
public string c1 { get; set; }
public string c2{ get; set; }
public string c3{ get; set; }
public string c4{ get; set; }
}
public static IDbConnection getDBConnection()
{
return new OdbcConnection("Dsn=OraDev;Uid=system;Pwd=password;");
}
public static void OracleODBCTest()
{
Dapper.SimpleCRUD.SetDialect(Dapper.SimpleCRUD.Dialect.Oracle);
testclass tc = new testclass();
tc.c1= "a";
tc.c2= "b";
tc.c3= "c";
tc.c4= "d";
using (var connection = getDBConnection())
{
connection.Insert(tc);
}
}
When I look in the database :
c1 = "b"
c2 = "c"
c3 = "d"
c4 = "a"
It like it's moving everything over by one or something.
The text was updated successfully, but these errors were encountered:
If I use the oracle driver with simplecrud to do an insert everything works fine. If I use an ODBC connection for oracle to do an insert with simplecrud it scrambles the parameters. For example
When I look in the database :
c1 = "b"
c2 = "c"
c3 = "d"
c4 = "a"
It like it's moving everything over by one or something.
The text was updated successfully, but these errors were encountered: