예제 #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);
        }
예제 #3
0
        public SysObraSocialCollection FetchByID(object IdObraSocial)
        {
            SysObraSocialCollection coll = new SysObraSocialCollection().Where("idObraSocial", IdObraSocial).Load();

            return(coll);
        }