nhibernate-mapping
How to do inheritance in fluent NH without discriminator type column
I have 2 classes: public class MyBaseClass { public virtual int Id{ get; set; } public virtual string BaseProperty { get; set; }[详细]
2023-03-10 22:38 分类:问答Is any way in fluent NH to map Views?
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[详细]
2023-03-10 16:33 分类:问答How to add mappings by namespace in Fluent NHibernate
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开发者[详细]
2023-03-09 16:03 分类:问答NHibernate Designer - many to many
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..[详细]
2023-03-09 05:06 分类:问答Fluent NHibernate Mapping help
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.[详细]
2023-03-08 22:25 分类:问答NHibernate - Returning an output parameter from a mapped Stored Procedure
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[详细]
2023-03-08 08:13 分类:问答nhibernate mapping many rows to one object
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[详细]
2023-03-08 06:59 分类:问答One-to-many NHibernate
hello I have mapping like this : <class entity-name=\"Person\"> <id name=\"id\" type=\"long\" column=\"ID\">[详细]
2023-03-07 20:24 分类:问答Mapping multiple tables into a single object with NHibernate
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.[详细]
2023-03-07 02:01 分类:问答Deleted object would be re-saved by cascade (remove deleted object from associations) in nhibernate
I keep getting this error when trying to delete a record from my table. Insert and Update work fine apart from delete.[详细]
2023-03-06 12:16 分类:问答