Пример #1
0
        public SysBarrioCollection FetchAll()
        {
            SysBarrioCollection coll = new SysBarrioCollection();
            Query qry = new Query(SysBarrio.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public SysBarrioCollection FetchByID(object IdBarrio)
        {
            SysBarrioCollection coll = new SysBarrioCollection().Where("idBarrio", IdBarrio).Load();

            return(coll);
        }