public TblHisLisPatientInfoVnioCollection FetchByQuery(Query qry) { var coll = new TblHisLisPatientInfoVnioCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TblHisLisPatientInfoVnioCollection FetchAll() { var coll = new TblHisLisPatientInfoVnioCollection(); var qry = new Query(TblHisLisPatientInfoVnio.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TblHisLisPatientInfoVnioCollection FetchByID(object Id) { TblHisLisPatientInfoVnioCollection coll = new TblHisLisPatientInfoVnioCollection().Where("Id", Id).Load(); return(coll); }