示例#1
0
        public TblReasonCollection FetchByQuery(Query qry)
        {
            TblReasonCollection coll = new TblReasonCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public TblReasonCollection FetchAll()
        {
            TblReasonCollection coll = new TblReasonCollection();
            Query qry = new Query(TblReason.Schema);

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

            return(coll);
        }