Please use the NHibernate mailing list http://groups.google.com/group/nhusers
On Mon, Mar 22, 2010 at 11:05 AM, brij <[email protected]> wrote: > Hi to all , I am newbie in nhibernate. Most of the work I have done > with sql queries.I need to perform a task in which two tables are > exist, Employees and Admin. > In admin Table there are only two columns,( AdminID and > EmployeeID),where EmployeeID is a foreign key and I want to fetch data > like this with create criteria > > "Select *,isnull((Select AdminID from Admin Where > EmployeeID=emp.EmployeeID),0) as AdminID from Employee emp Where > emp .ema...@email" > > > please help me out > > To unsubscribe from this group, send email to nhibernate-development+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > To unsubscribe from this group, send email to nhibernate-development+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
