public object Clone() { var clone = new MockDbCommand(_connection) { CommandText = CommandText, _parameters = _parameters }; return(clone); }
public object Clone() { var clone = new MockDbCommand(_connection) {CommandText = CommandText}; foreach (var p in Parameters.Cast<IDbDataParameter>()) { clone.Parameters.Add(new MockDataParameter {DbType = p.DbType, ParameterName = p.ParameterName}); } return clone; }
public object Clone() { var clone = new MockDbCommand(_connection) {CommandText = CommandText, _parameters = _parameters}; return clone; }