Tuesday 10 March 2015

What is difference between Query classes and Select query?

  • Query instances can be created from AOT queries.
  • Query instances can be changed at runtime.
  • Query instances can be passed to other objects.
  • Query instances can be packed and saved for later use.
  • Some features are supported by Query class but not by select statement, e.g. union queries.
  • Select statements are much easier to read.
  • Query framework gets worse compiler control than select statements.

No comments:

Post a Comment