本文整理匯總了C#中gov.va.medora.mdo.dao.AbstractConnection.getDao方法的典型用法代碼示例。如果您正苦於以下問題:C# AbstractConnection.getDao方法的具體用法?C# AbstractConnection.getDao怎麽用?C# AbstractConnection.getDao使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類gov.va.medora.mdo.dao.AbstractConnection
的用法示例。
在下文中一共展示了AbstractConnection.getDao方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: getAppointments
public Appointment[] getAppointments(AbstractConnection cxn)
{
IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
if (dao == null)
{
return null;
}
return dao.getAppointments();
}
示例2: getAppointments
public Appointment[] getAppointments(AbstractConnection cxn, int pastDays, int futureDays)
{
IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
if (dao == null)
{
return null;
}
return dao.getAppointments(pastDays,futureDays);
}
示例3: getAdmissions
public InpatientStay[] getAdmissions(AbstractConnection cxn)
{
IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
if (dao == null)
{
return null;
}
return dao.getAdmissions();
}
示例4: hasClinicAccess
public bool hasClinicAccess(AbstractConnection cxn, string clinicId)
{
return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).hasClinicAccess(clinicId);
}
示例5: getChemHemReports
// Gets multiple reports from a single site
public static ChemHemReport[] getChemHemReports(AbstractConnection cxn, string pid, string fromDate, string toDate)
{
return ((IChemHemDao)cxn.getDao(DAO_NAME)).getChemHemReports(pid, fromDate, toDate);
}
示例6: getWards
public HospitalLocation[] getWards(AbstractConnection cxn)
{
IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
if (dao == null)
{
return null;
}
return dao.getWards();
}
示例7: getTeams
public DictionaryHashList getTeams(AbstractConnection cxn)
{
return ((IEncounterDao)cxn.getDao(DAO_NAME)).getTeams();
}
示例8: getStayMovementsByDateRange
public InpatientStay[] getStayMovementsByDateRange(AbstractConnection cxn, string fromDate, string toDate)
{
return ((IEncounterDao)cxn.getDao(DAO_NAME)).getStayMovementsByDateRange(fromDate, toDate);
}
示例9: getSiteDivisions
public Site[] getSiteDivisions(AbstractConnection cxn, string siteId)
{
return ((IEncounterDao)cxn.getDao(DAO_NAME)).getSiteDivisions(siteId);
}
示例10: getClinicAvailability
public string getClinicAvailability(AbstractConnection cxn, string clinicId)
{
return ((IEncounterDao)cxn.getDao(DAO_NAME)).getClinicAvailability(clinicId);
}
示例11: getAppointmentTypes
public IList<AppointmentType> getAppointmentTypes(AbstractConnection cxn, string target)
{
return ((IEncounterDao)cxn.getDao(DAO_NAME)).getAppointmentTypes(target);
}
示例12: getAppointmentTypes
public IList<AppointmentType> getAppointmentTypes(AbstractConnection cxn, string target)
{
return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).getAppointmentTypes(target);
}
示例13: makeAppointment
//public string getClinicAvailability(AbstractConnection cxn, string clinicId)
//{
// return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).getClinicAvailability(clinicId);
//}
public Appointment makeAppointment(AbstractConnection cxn, Appointment appointment)
{
return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).makeAppointment(appointment);
}
示例14: isValidStopCode
public bool isValidStopCode(AbstractConnection cxn, string stopCodeId)
{
return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).isValidStopCode(stopCodeId);
}
示例15: hasValidStopCode
public bool hasValidStopCode(AbstractConnection cxn, string clinicId)
{
return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).hasValidStopCode(clinicId);
}