コード例 #1
0
        public SysPacienteCollection FetchByQuery(Query qry)
        {
            SysPacienteCollection coll = new SysPacienteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public SysPacienteCollection FetchAll()
        {
            SysPacienteCollection coll = new SysPacienteCollection();
            Query qry = new Query(SysPaciente.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public SysPacienteCollection FetchByID(object IdPaciente)
        {
            SysPacienteCollection coll = new SysPacienteCollection().Where("idPaciente", IdPaciente).Load();

            return(coll);
        }