/// <summary>
 /// 添加参数
 /// </summary>
 /// <param name="info">参数信息</param>
 public void AddParameter(DbParameterInfo info)
 {
     if (info != null)
     {
         _parameters[Clean(info.ParameterName)] = info;
         ResetParamItem();
     }
 }
Example #2
0
 /// <summary>
 /// 添加参数
 /// </summary>
 /// <param name="info">参数信息</param>
 public SqlQuery AddParameter(DbParameterInfo info)
 {
     Parameters.AddParameter(info);
     return(this);
 }