hello, everyone i have two class Product and Supplier() like this:
public class Product { public virtual int Id{get;set} pubic virtual string Name{get;set;} public virtual string SupplierId{get;set} } and
public class Supplier { public virtual Id{get;set;} public virtual name{get;set;} }
i want to create a HQL query using Fluent NHibernate like this:
Ilist Resultlist=sesion.CreateQuery("Select p.Name, s.Name from Product p, Supplier s where p.SupplierId=s.Id")
how can i bind Resultlist to datatable, id an IList has a type
please help. Thanks