It appears that NHibernate cannot automap more than one IList of a given type in an entity. Consider the following two entities (based on the Examples.FirstProject sample code that is included with t
When I test my many to many classes an error occurs: System.ApplicationException: Actual count does not equal expected count.
I\'m using Compare .NET Objects to test whether my POCOs are persisted correctly to a test database. Let\'s take an example POCO:
I have entities Post and Tag, where there is a many-to-many relationship between the two (e.g. each post can have one or more tags, and each tag can be associated with any number of posts).
I\'m trying add the the followings in my FNH configuration SessionManager class. I have 20+ Entities to map and they\'re all sitting in the same project under Entities folder. ie. ProjName.BusinessLo
I\'m currently learning NHibernate and I would like to d开发者_运维百科ata-bind to Web controls (i.e. GridView).
I\'m getting the following error: \"Can\'t figure out what the other side of a many-to-many should be.\"
Given the following Fluent NHibernate maps: public class FastTrackPackageClassMap : ClassMap<FastTrackPackage>
I am using Fluent NHibernate with table per subclass inheritance mapping. I want to reference to a list of specific objects, but i can\'t figure out, how to restict the result to objects of one specif
Having successfully gotten a sample program working, I\'m now starting to do Real Work with Fluent NHibernate - trying to use Automapping on my project\'s class