Example #1
0
        public SysParentescoCollection FetchByQuery(Query qry)
        {
            SysParentescoCollection coll = new SysParentescoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public SysParentescoCollection FetchAll()
        {
            SysParentescoCollection coll = new SysParentescoCollection();
            Query qry = new Query(SysParentesco.Schema);

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