nhibernate-mapping
NHibernate Bidirectional many-to-many Mapping for 2 Lists
I\'m trying to generate the correct mapping for 2 classes that have a collection of each other within them.[详细]
2023-04-11 04:10 分类:问答Nhibernate Mapping interface
How to map an interface using fluent Nhibernate class Product { public virtual IProductStructure ProductStructure { get; set; }[详细]
2023-04-10 23:08 分类:问答How to map many-to-many lookup values without separate entity?
Let\'s say I have an entity Organization with collection of countries. I don\'t really care about countries for anything more than displaying it with organization data, potentially for filtering, that[详细]
2023-04-10 11:08 分类:问答How to map collection of floats using Fluent NHibernate?
I have a class that contains a collection (IList) of floats that I\'m trying to map in FNH: class WeeklyHours {[详细]
2023-04-10 07:23 分类:问答NHibernate - Is there a way to map a formula that uses sql function and returns Table?!
I have a sql function that returns table and I need to map it to a collection i\'m trying with formula but as far as i can tell formula is good only to single returned value (right?!?)[详细]
2023-04-10 04:51 分类:问答NHibernate list saving and loading optimization advice
I have 3 classes that are mapped via NHibernate: Intersection, Vehicle and Zone. My Intersection class contains a list of Zones that belong to the Intersection.My Vehicle class contains a list of Zon[详细]
2023-04-10 01:57 分类:问答nhibernate. Bag is null after creation in same session
I have the object, which contain the list of objects. public class Product: IProduct { public virtual longId{ get; 开发者_开发百科set; }[详细]
2023-04-10 00:09 分类:问答Recommendations for optimizing NHibernate with Large Amounts of Data
I have a rath开发者_开发问答er complex mapping for some of my class objects for NHibernate.I have everything mapping correctly; however, it is taking approximately 10-15 minutes to save the items and[详细]
2023-04-09 08:16 分类:问答"PropertyAccessException: Invalid Cast" when trying to retrieve an enum property stored as an AnsiString
I need to store my enums in the database as varchar instead of nvarchar, so I am using the \"AnsiString\" mapping as follows:[详细]
2023-04-09 02:46 分类:问答NHibernate mapping many-to-many lists not loading the objects right
I am attempting a many-to-many list in one of my objects. I have three classes which I am attempting to save and load via NHibernate: Intersection, Vehicle and Zone.Intersection and Vehicle are both[详细]
2023-04-09 02:38 分类:问答