コード例 #1
0
        public LDepartmentRoomCollection FetchByQuery(Query qry)
        {
            LDepartmentRoomCollection coll = new LDepartmentRoomCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public LDepartmentRoomCollection FetchAll()
        {
            LDepartmentRoomCollection coll = new LDepartmentRoomCollection();
            Query qry = new Query(LDepartmentRoom.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public LDepartmentRoomCollection FetchByID(object DepartmentID)
        {
            LDepartmentRoomCollection coll = new LDepartmentRoomCollection().Where("DepartmentID", DepartmentID).Load();

            return(coll);
        }