internal void Add(DbParamInfo paras) { foreach (var p in paras.Params) { Params.Add(p.Key, p.Value); } }
internal CommandInfo(string sql, DbParamInfo paras) { CommandText = sql; Parameter = paras ?? new DbParamInfo(); CommandType = CommandType.Text; }