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

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

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

            return(coll);
        }