Ejemplo n.º 1
0
        public TblReasonCollection FetchByQuery(Query qry)
        {
            var coll = new TblReasonCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public TblReasonCollection FetchAll()
        {
            var coll = new TblReasonCollection();
            var qry  = new Query(TblReason.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public TblReasonCollection FetchByID(object Id)
        {
            TblReasonCollection coll = new TblReasonCollection().Where("ID", Id).Load();

            return(coll);
        }