Skip to content

SQL-054: ClaimPaymentQueryProvider.GetSpecialHandlingCodes

This statement is a read operation invoked through ORM (NHibernate LINQ). Executed by ClaimPaymentQueryProvider.GetSpecialHandlingCodes.

Classification

Field Value
SQL ID SQL-054
Operation type Read
Execution method ORM (NHibernate LINQ)
Database Oracle*
Schema [unqualified]**
Command type N/A (ORM-generated)
Business object ClaimPaymentQueryProvider
Criteria property N/A — ORM
Lifecycle method GetSpecialHandlingCodes

Tables

Table Access Columns used
CL_PAYMENT_SPCL_HANDLING_CODE SELECT CODE, CODE_DESCR, UPDATE_DATE, UPDATE_USER, UPDATE_NUM

LINQ statement

Source: Data/SAIF.Data/Queries/Claims/ClaimPaymentQueryProvider.cs:15.

return Factory.GetRepository<SpecialHandlingCode>().Query().ToList();

Sample SQL

Inferred SQL: This SQL was inferred from the LINQ statement above and the NHibernate mappings. It is not concrete SQL from source code; NHibernate generates the executed statement at runtime, so aliases, column order, join syntax, and bind-parameter names may differ.

-- Inferred from LINQ (NHibernate mapping translation); not concrete SQL
SELECT
  CPSHC.CODE,
  CPSHC.CODE_DESCR,
  CPSHC.UPDATE_DATE,
  CPSHC.UPDATE_USER,
  CPSHC.UPDATE_NUM
FROM CL_PAYMENT_SPCL_HANDLING_CODE CPSHC

Translation notes: - Full-table read; there is no filter predicate.

Operations and processes

Sources

  • Data/SAIF.Data/Queries/Claims/ClaimPaymentQueryProvider.cs:15