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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }