So strange, if I use this linq query, i will get an "Specified method
is not supported" exception!!
var query = from SectionItem item in DbContext.Entity<SectionItem>()
select item;
List<SectionItem> sectionItems = query.ToList();
BUT if i use this query, it will run without any error:
var query = from item in DbContext.Entity<SectionItem>()
select item;
List<SectionItem> sectionItems = query.ToList();
its so strange !!!!
i am using Fluent nhibernate 1.2 with NHibernate 3.0.1.4000 in c# 3.5
with visual studio 2008.
is this a bug or i am error in my code ?
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.