///<summary>This is the new way. If there are more than about 3 parameters, then we'll have to create a different DTO to pass them. This has not been done yet. A dataset would be used to pass the parameters up because the information can be better organized, and properly keyed. But for typical cases with just one or a few parameters, this works great.</summary> public static DataSet GetDS(string methodName, string[] parameters) { try { if (RemotingClient.OpenDentBusinessIsLocal) { return(GeneralB.GetDS(methodName, parameters)); } else { DtoGetDS dto = new DtoGetDS(); dto.MethodName = methodName; dto.Parameters = parameters; return(RemotingClient.ProcessGetDS(dto)); } } catch (Exception e) { MessageBox.Show(e.Message); return(new DataSet()); } }