public static IDataCommand AddParams(this IDataCommand cmd, params object[] prms) { foreach (var p in prms) { cmd.AddIn(p); } return(cmd); }