The mapping file for Visits contains the following:
Code:
<bag name="Inspections" lazy="false" fetch="select" cascade="none" inverse="true"> <key column="VISIT_COUNTER"/>
<bag name="Inspections" lazy="false" fetch="select" cascade="none" inverse="true"> <key column="VISIT_COUNTER"/>
<xsl:param name="paramTest">$LINKNUM$</xsl:param>
<key name="$LINKNUM$">SELECT count(1) from applications</key>
<xsl:choose>
<xsl:when test="$paramTest = '0' ">
private static ISessionFactory SessionFactory
{
get
{
ISessionFactory sessionFactory = null;
using (Tracer trace = new Tracer("Debug"))
{
sessionFactory = HttpContext.Current.Application["sessionFactory"]
private static ISessionFactory SessionFactory
{
get
{
ISessionFactory sessionFactory = null;
sessionFactory = HttpContext.Current.Application["sessionFactory"]
criteria.Add(Restrictions.Eq("ApplicationNumber", referenceNumber));
ICriteria criteria = mSession.CreateCriteria(typeof(Application));
criteria.Add(new EqExpression("ReferenceNumber", "2008/0128/NEW", true));
BCApplication application = (A
return image.Notes
<property name="ForeignLink" column="FORNBLG" />
<property name="IncludeInMerge" column="INCLUDE_IN_MERGE" />
<property name="ReferenceNumber" column="REF_NO"
Leave a comment: