Пример #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);
        }