nhibernate-mapping
What would be the Primary key?
I have a question about Database design. I have two tables, usertable and historytable, which are one-to-many relationship, which usertable contains[详细]
2023-03-17 17:26 分类:问答Using loquacious class mappings in NHibernate
I am trying to use the new loquacious class mapping feature that we used to get out of Fluent NHibernate. But I am getting stuck on how to get the class mappings to the configuration. I have read F Ma[详细]
2023-03-17 15:55 分类:问答Custom reference mapping in Fluent Nhibernate
In my database, I have two tables, one logically referencing other, but with no foreign key defined (I cannot control the database, so have to live with that). E.g.:[详细]
2023-03-17 07:23 分类:问答Cannot excute query in NHibernate
I try to use this tutorial: Hello NHibernate This is my config NHibernate file: <?xml version=\"1.0\"?>[详细]
2023-03-17 00:56 分类:问答Pass type to generic method (nested generic)
How can I invoke following method while I have not TRootEntity, but have just its TYPE: public void Class<TRootEntity>(Action<IClassMapper<TRootEntity>> customizeAction) where TRoot[详细]
2023-03-16 19:51 分类:问答Nhibernate not returning updated values
I\'m working on an ASP.NET application which uses Nhibernate and encountering very strange behaviour recently.[详细]
2023-03-16 18:13 分类:问答NHibernate map entity to generic lookup table
I\'m building an application against a legacy database that stores lookup values in a generic table (actually it\'s held in four different tables.) This means that the entity tables store the \"id\" o[详细]
2023-03-16 14:37 分类:问答NHibernate mapping child to multiple possible parent
I have this Address table like below: Address ------- ID (pk) OWNERTYPE (int) OWNERID (int) ADDR1 ADDR2 ....[详细]
2023-03-15 12:22 分类:问答many-to-many with different number of keys
I us开发者_运维知识库e NHibernate with mapping in the HBMs I have Table1 like this ID int(PK) Category int(PK)[详细]
2023-03-15 10:11 分类:问答How to map an NHibernate entity property using both a formula and a column specification
I\'m trying to map an entity property in such way that it writes its value to a database column but retrieves its value using a formula.[详细]
2023-03-15 02:28 分类:问答