Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Named queries are a concept where the actual query criteria is constructed within the Business Entity or the Data Access class. The consumer simply passes in a query name and a list of arguments (similar to Dictionary of <PrimitiveHolder> classes).The Business Entity or the Data Access class will convert this into the actual query parameters. This moves the responsibility of handling the complexity when building complex query strings into the Business Entity or alternatively into the Data Access class - allowing the back end developer to also decide on optimal use of indexes etc.

...