Esempio n. 1
0
        public SysOrganismoCollection FetchByQuery(Query qry)
        {
            SysOrganismoCollection coll = new SysOrganismoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public SysOrganismoCollection FetchAll()
        {
            SysOrganismoCollection coll = new SysOrganismoCollection();
            Query qry = new Query(SysOrganismo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public SysOrganismoCollection FetchByID(object IdOrganismo)
        {
            SysOrganismoCollection coll = new SysOrganismoCollection().Where("idOrganismo", IdOrganismo).Load();

            return(coll);
        }