Пример #1
0
 internal void Add(DbParamInfo paras)
 {
     foreach (var p in paras.Params)
     {
         Params.Add(p.Key, p.Value);
     }
 }
Пример #2
0
 internal CommandInfo(string sql, DbParamInfo paras)
 {
     CommandText = sql;
     Parameter   = paras ?? new DbParamInfo();
     CommandType = CommandType.Text;
 }