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

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

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

            return(coll);
        }