Пример #1
0
        public GuardiaAntecedenteCollection FetchByQuery(Query qry)
        {
            GuardiaAntecedenteCollection coll = new GuardiaAntecedenteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public GuardiaAntecedenteCollection FetchAll()
        {
            GuardiaAntecedenteCollection coll = new GuardiaAntecedenteCollection();
            Query qry = new Query(GuardiaAntecedente.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public GuardiaAntecedenteCollection FetchByID(object Id)
        {
            GuardiaAntecedenteCollection coll = new GuardiaAntecedenteCollection().Where("id", Id).Load();

            return(coll);
        }