本文整理汇总了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);
}