Beispiel #1
0
 public void AddExecOutputParameter(int i, ProcParam p)
 {
     dbCommand.Parameters.Add ('@'+p.Name, p.DbType, p.Size, p.Name).Direction = ParameterDirection.Output;
 }
Beispiel #2
0
 public void AddExecInputParameter(int i, ProcParam p, string v)
 {
     dbCommand.Parameters.Add ('@'+p.Name, p.DbType, p.Size, p.Name).Direction = ParameterDirection.Input;
       dbCommand.Parameters[i].Value = v;
 }