mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Synchronization code
This commit is contained in:
@@ -97,6 +97,14 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
((OracleConnection)this.Connection).BeginTransaction(iso);
|
((OracleConnection)this.Connection).BeginTransaction(iso);
|
||||||
}
|
}
|
||||||
|
public override Func<string, SugarParameter[], KeyValuePair<string, SugarParameter[]>> ProcessingEventStartingSQL => (sql, parameter) => {
|
||||||
|
|
||||||
|
if (sql == "-- No table ")
|
||||||
|
{
|
||||||
|
sql = " SELECT 'No table' FROM DUAL WHERE 1=2 ";
|
||||||
|
}
|
||||||
|
return new KeyValuePair<string, SugarParameter[]>(sql, parameter);
|
||||||
|
};
|
||||||
public override IDataAdapter GetAdapter()
|
public override IDataAdapter GetAdapter()
|
||||||
{
|
{
|
||||||
return new OracleDataAdapter();
|
return new OracleDataAdapter();
|
||||||
|
Reference in New Issue
Block a user