示例#1
0
 public MySqlCommand(SqlStringTemplate sql, CommandParams cmds, MySqlConnection conn)
 {
     _sqlStringTemplate = sql;
     Parameters         = cmds;
     Connection         = conn;
     if (conn != null)
     {
         this.StringConverter = conn.StringConv;
     }
 }
示例#2
0
 public MySqlCommand(SqlStringTemplate sql, MySqlConnection conn)
     : this(sql, new CommandParams(), conn)
 {
 }
 public MySqlCommand(SqlStringTemplate sql, CommandParams cmds, MySqlConnection conn)
 {
     _sqlStringTemplate = sql;
     Connection = conn;
     Parameters = cmds;
 }
 public MySqlCommand(SqlStringTemplate sql, MySqlConnection conn)
         : this(sql, new CommandParams(), conn)
 {
 }
 public MySqlCommand(SqlStringTemplate sql, CommandParams cmds, MySqlConnection conn)
 {
     _sqlStringTemplate = sql;
     Connection         = conn;
     Parameters         = cmds;
 }