3

Check

<class name="Blankhol" table="hoL" lazy="false">

    <id name="Id" column="H_Id" />

    <property name="MId" column="M_ID" insert="false" update="false" />


    <many-to-one name="MemInfo"
                 class="BusinessDataEntities.Domain.Net.Company, BusinessDataEntities"
                 lazy="false">
      <column name="M_ID" />
    </many-to-one>

    <join table="[Network]">
      <key column="H_Id" />
      <property name="NId" column="N_Id" insert="false" update="false"/>
    </join>

    <join table="[H_Outer]" optional="true">
      <key column="H_Id" />
    <property name="APS" column="AMPS_Prs" insert="false" update="false" />
      <property name="NId" column="N_Id" insert="false" update="false"/>
    </join>


  </class>

currently my join is on Id and my query looks like

Select * from h where h.id= N_Id.id

I want some thing like this

Select * from h
where h.id= N_Id.id and h.N_Id= ol.N_Id

Any one can help me

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.