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
//.UseConnectionString(FreeSql.DataType.Dameng, "server=127.0.0.1;port=5236;user id=2user;password=123456789;database=2user;poolsize=5;min pool size=1")
varsql1=$"SELECT {string.Join(", ",pkColumns.Select(a =>_commonUtils.QuoteSqlName(a)))}, {string.Join(", ",setColumns.Select(a =>_commonUtils.QuoteSqlName(a)))} INTO {tempTableName} FROM {_commonUtils.QuoteSqlName(updateTableName)} WHERE 1=2";
150
+
varsql1=$"SELECT {string.Join(", ",_table.Columns.Values.Select(a =>_commonUtils.QuoteSqlName(a.Attribute.Name)))} INTO {tempTableName} FROM {_commonUtils.QuoteSqlName(updateTableName)} WHERE 1=2";
159
151
try
160
152
{
161
153
upsert._sourceSql=$"select * from {tempTableName}";
0 commit comments