public void SetParameters(ParameterList parameters, object obj) { foreach (Parameter p in parameters) SetParameter(p.Name, obj, p.Value); }