public FakeParameterCollection(FakeParameterCollection parameters)
 {
     foreach (var parameter in parameters)
     {
         _parameters.Add((DbParameter)parameter);
     }
 }
 public FakeParameterCollection(FakeParameterCollection parameters)
 {
     foreach (var parameter in parameters)
     {
         _parameters.Add((DbParameter) parameter);
     }
 }
Ejemplo n.º 3
0
 public FakeCommand(DbConnection fakeDbConnection, DataTable nextResult)
 {
     _parameters = new FakeParameterCollection(this);
     NextResult = nextResult;
     _connection = fakeDbConnection;
 }
Ejemplo n.º 4
0
 public FakeCommand(DbConnection fakeDbConnection, DataTable nextResult)
 {
     _parameters = new FakeParameterCollection(this);
     NextResult  = nextResult;
     _connection = fakeDbConnection;
 }