Exemplo n.º 1
0
        public LStaffCollection FetchByQuery(Query qry)
        {
            LStaffCollection coll = new LStaffCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public LStaffCollection FetchAll()
        {
            LStaffCollection coll = new LStaffCollection();
            Query            qry  = new Query(LStaff.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public LStaffCollection FetchByID(object StaffId)
        {
            LStaffCollection coll = new LStaffCollection().Where("Staff_ID", StaffId).Load();

            return(coll);
        }