Beispiel #1
0
 internal void Add(DbParamInfo paras)
 {
     foreach (var p in paras.Params)
     {
         Params.Add(p.Key, p.Value);
     }
 }
Beispiel #2
0
 internal CommandInfo(string sql, DbParamInfo paras)
 {
     CommandText = sql;
     Parameter   = paras;
     CommandType = CommandType.Text;
 }