Example #1
0
        public SysOrganismoCollection FetchByQuery(Query qry)
        {
            SysOrganismoCollection coll = new SysOrganismoCollection();

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

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

            return(coll);
        }