nhibernate-mapping
NHibernate Filters on Left Outer Joins
I am running into an issue with an NHibernate filter.It works great until I do a left outer join to the object.[详细]
2023-04-13 09:49 分类:问答Nhibernate one-to-many association
I have such a simple model: public abstract class Entity { public virtual Guid Id { get; protected set;}[详细]
2023-04-13 00:17 分类:问答composite Key and inheritance
i have the following classes and mappings abstract class BaseClass { public virtual int Keypart1 { get; set; }[详细]
2023-04-12 21:15 分类:问答joining 2 table with queryover
I have 3 table in a sample. i am going to join 2 table but i have problem the following is my code : <?xml version=\"1.0\"?>[详细]
2023-04-12 20:10 分类:问答NHibernate - CreateSQLQuery exception "No persister for ..", why?
I\'m trying to create a SQL query in NHibernate using CreateSQLQuery: var query = session.CreateSQLQuery([详细]
2023-04-12 03:04 分类:问答One - to -one mapping using non primary key
I have two tables: Table1 : { id:primary key name: email: } Table2: Lid: primary key tname: email: } In both the cases email is neither primary key, nor the foreign. Is it possible to establish one[详细]
2023-04-12 01:42 分类:问答NHibernate Table Per Class loading - wrong type
I have a mapping issue with the table-per-class hierarchy in Fluent/NHibernate.When retrieving the records from the database, I keep getting an error (the Wrong type exception)[详细]
2023-04-11 18:58 分类:问答Map Dictionary with list of elements
Is it possible with Fluent NHibernate to map a property with开发者_如何学运维 the following signature?[详细]
2023-04-11 18:19 分类:问答Eager loading a tree with nHibernate re-queries leaf nodes
Looking for some expertise before I declare the NHibernate framework broken or myself crazy! I\'m trying to eagerly load a self-referencing tree with NHibernate and can successfully load most c开发者[详细]
2023-04-11 08:15 分类:问答Wrong column name in table per subclass strategy with abstract class in hierarchy
Consider the following class hierarchy: public abstract class Entity { public virtual int Id { get; private set; }[详细]
2023-04-11 07:38 分类:问答