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

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

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

            return(coll);
        }