public IndexedHashtable query(string daoName, string methodName, object[] args) { if (myCxns == null || myCxns.Count == 0) { throw new NotConnectedException(); } QueryTemplate qt = new QueryQuery(this); qt.QueryMethod(daoName, methodName, args); return(buildResults()); }
public IndexedHashtable setLocalPids(string globalPid) { if (String.IsNullOrEmpty(globalPid)) { throw new MdoException(MdoExceptionCode.ARGUMENT_INVALID, "Invalid ICN or Empty ICN"); } if (!StringUtils.isNumericChar(globalPid[0])) { throw new MdoException(MdoExceptionCode.ARGUMENT_INVALID, "Invalid ICN or Empty ICN"); } QueryTemplate qt = new QueryQuery(this); qt.QueryMethod("IPatientDao", "getLocalPid", new object[] { globalPid }); return(buildResults()); }
public IndexedHashtable setLocalPids(string globalPid) { if (String.IsNullOrEmpty(globalPid)) { throw new MdoException(MdoExceptionCode.ARGUMENT_INVALID, "Invalid ICN or Empty ICN"); } if (!StringUtils.isNumericChar(globalPid[0])) { throw new MdoException(MdoExceptionCode.ARGUMENT_INVALID, "Invalid ICN or Empty ICN"); } QueryTemplate qt = new QueryQuery(this); qt.QueryMethod("IPatientDao", "getLocalPid", new object[] { globalPid }); return buildResults(); }
public IndexedHashtable query(string daoName, string methodName, object[] args) { if (myCxns == null || myCxns.Count == 0) { throw new NotConnectedException(); } QueryTemplate qt = new QueryQuery(this); qt.QueryMethod(daoName, methodName, args); return buildResults(); }