Refactor ORM: Property-Related Duplication in Dynamic Queries and its Refactor Approach

Introduction The dynamic queries is a long-standing pain point in ORM frameworks. Solving this problem will have a profound impact on simplifying the interaction logic of the database and improving the maintainability of the code. This article locates a structural duplication in dynamic queries and proposes a general reconstruction method to optimize the code related to dynamic queries.