protected virtual DetachedNamedQuery GetDetachedNamedQuery(string queryName, Tpmt parameters)
        {
            DetachedNamedQuery dnq = new DetachedNamedQuery(queryName);

            NHibernateUtil.SetDetachedNamedQueryParameters(dnq, parameters);
            return(dnq);
        }