error on line : config.AddAssembly(\"Hibernatetest\"); Error Message: Could not compile the mapping document: Hibernatetest.Company.hbm.xml
In my project (ASP.NET MVC + NHibernate) I have all my entities, lets say Documents, described by set of custom metadata. Metadata is contained in a structure that can have multiple tags, categories e
Can I do mapping to query like this : select id,name,address,(select count(*) from account where record_id=id ) as counter
I\'m new开发者_开发问答 to nHibernate universe, so this question can be idiot .. I have a table with a nullable nvarchar column.
In my asp.net mvc app I have a Log object which tracks what happens in my forum. when a comment is added inside a transaction the following happens:
I am using PropertyRef for one of my References properties. With LazyLoad() it still does a Select and loads the User entity, even though I never \"hit\" the SalesPerson property.
Can someone tell me how to make my property convention ignore a mapping that has formula? This is the entity:
I\'m working with 2 different DB\'s in my app, a big(oracle) one for the online mode and a small(sqlce) one for offline mode.
My Real db is oracle, and has sequences(not under my control). I wanna test the mappings with in memory sqlite db,
I have an entity called Member. A Member can follow many other Members (according to the domain), thus pertaining a many-to-many relationship. I\'ve created a relationship table (member_follows) in my