예제 #1
0
 private void SetCommand()
 {
     SetCommandUserParams();
     SetCommandText();
     SetSqlCommand();
     if (SqlContainer.WriteSqlToDebugLog)
     {
         SqlDebugs.WriteSqlLog(SqlContainer.RdsName, SqlCommand, Sqls.LogsPath);
     }
 }
예제 #2
0
 private void SetCommand(ISqlObjectFactory factory)
 {
     SetCommandUserParams();
     SetCommandText(factory: factory);
     SetSqlCommand(factory: factory);
     if (SqlContainer.WriteSqlToDebugLog)
     {
         SqlDebugs.WriteSqlLog(SqlContainer.RdsName, SqlCommand, Sqls.LogsPath);
     }
 }