Exemplo n.º 1
0
        public SysObraSocialCollection FetchByQuery(Query qry)
        {
            SysObraSocialCollection coll = new SysObraSocialCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public SysObraSocialCollection FetchAll()
        {
            SysObraSocialCollection coll = new SysObraSocialCollection();
            Query qry = new Query(SysObraSocial.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public SysObraSocialCollection FetchByID(object IdObraSocial)
        {
            SysObraSocialCollection coll = new SysObraSocialCollection().Where("idObraSocial", IdObraSocial).Load();

            return(coll);
        }