title: Not getting data while querying view using NHibernate
body: <p>I am trying to query a view using NHibernate, but receving an empty result always.</p>
  
  <p><strong>View name:</strong> vw_lead_review_detail</p>
  
  <p>Code snippet for View mapping:</p>
  
  <pre><code>[Class(NameType = typeof(LeadReviewDetail), Table = "vw_lead_review_detail", Lazy = false, Schema = "affiliate")]
  public class LeadReviewDetail
  {
      [Id(Name = "LeadEventId", Column = "lead_event_id", UnsavedValue = "0")]
      [Generator(1, Class = "assigned")]
      public virtual int? LeadEventId { get; set; }
      [Property(Column = "addition_input_value")]
      public virtual string AdditionInputValue { get; set; }
  }
  </code></pre>
  
  <p>Is there anything else do I need to change in this mapping class?
  thank you!</p>