예제 #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);
        }