title: Nhibernate Where Condition
body: <p>I want to generate a where condition in nHibernate Like Below Can any one Help me out</p>
  
  <p>Select Id,Name from 
  Employee 
  where (id=@id or Id is Null)
  i want the code to generate the where condition.</p>