I have 2 classes: public class MyBaseClass { public virtual int Id{ get; set; } public virtual string BaseProperty { get; set; }
Is any way in fluent NH to map [View]s to c# classes? I开发者_StackOverflow社区 need to have them read-only.NHibernate allows you to map views as you would a table. It\'s exactly the same. The only th
In my application, I need to talk to multiple databases. I am handling this in NHibernate by creating one SessionFactory per database (I assume this is the correct thing to do). So I have two set开发者
Following on from a previous question, I am evaluating MindScape\'s NHibernate Designer. When I add a many to many mapping, it says that it won\'t propagate this to th开发者_开发百科e database..
I am getting the following error: Invalid index 3 for this OracleParameterCollection with Count=3 when i am attempting to insert a new column into a table.
I have a Stored Procedure that I have mapped via NHibernate. The Sproc returns both a resultset, and an output paramter, basically a count of the total records followed by the resultset itself. Someth
i have a rather difficult mapping problem. EDIT: reformulated descritpion for historical reasons texts are not stored in a column as text, instead they are saved in tables. i have several tables wit
hello I have mapping like this : <class entity-name=\"Person\"> <id name=\"id\" type=\"long\" column=\"ID\">
I have a schema that looks like this: There is a one to one relationship between Foo and Bar and a many to one relationship between Bar and Baz.
I keep getting this error when trying to delete a record from my table. Insert and Update work fine apart from delete.