public SysRelPacienteObraSocialCollection FetchByQuery(Query qry) { SysRelPacienteObraSocialCollection coll = new SysRelPacienteObraSocialCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysRelPacienteObraSocialCollection FetchAll() { SysRelPacienteObraSocialCollection coll = new SysRelPacienteObraSocialCollection(); Query qry = new Query(SysRelPacienteObraSocial.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysRelPacienteObraSocialCollection FetchByID(object IdRelPacienteObraSocial) { SysRelPacienteObraSocialCollection coll = new SysRelPacienteObraSocialCollection().Where("idRelPacienteObraSocial", IdRelPacienteObraSocial).Load(); return(coll); }