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
{{ message }}
This repository was archived by the owner on Dec 24, 2022. It is now read-only.
sb.AppendFormat(" {0} ON {1} = {2} \n",OrmLiteConfig.DialectProvider.GetQuotedTableName(join.RefTypeTableName));
465
+
sb.AppendFormat(" {0}{1} ON {2} = {3} \n",join.RefTypeSchema,OrmLiteConfig.DialectProvider.GetQuotedTableName(join.RefTypeTableName));
456
466
}
457
467
else
458
468
{
459
469
if(join.JoinType!=JoinType.SELF)
460
470
{
461
-
sb.AppendFormat(" {0} ON {1} = {2} \n",OrmLiteConfig.DialectProvider.GetQuotedTableName(join.RefTypeTableName),join.Class1ColumnName,join.Class2ColumnName);
471
+
sb.AppendFormat(" {0}{1} ON {2} = {3} \n",join.RefTypeSchema,OrmLiteConfig.DialectProvider.GetQuotedTableName(join.RefTypeTableName),join.Class1ColumnName,join.Class2ColumnName);
462
472
}
463
473
else
464
474
{
465
-
sb.AppendFormat(" {0} AS {1} ON {1}.{2} = \"{0}\".{3} \n",OrmLiteConfig.DialectProvider.GetQuotedTableName(join.RefTypeTableName),OrmLiteConfig.DialectProvider.GetQuotedTableName(join.RefTypeTableName)+"_"+i.ToString(),join.Class1ColumnName,join.Class2ColumnName);
475
+
sb.AppendFormat(" {0}{1} AS {2} ON {2}.{3} = \"{1}\".{4} \n",join.RefTypeSchema,OrmLiteConfig.DialectProvider.GetQuotedTableName(join.RefTypeTableName),OrmLiteConfig.DialectProvider.GetQuotedTableName(join.RefTypeTableName)+"_"+i.ToString(),join.Class1ColumnName,join.Class2ColumnName);
0 commit comments