fluent-nhibernate-mapping
Fluent Nhibernate, Struggling With One-to-many Relationships
The follow exception is always be throwed: could not initialize a collection: [FatorM.Sieq.Model.Entities.Culto.Ofertas#4][SQL: SELECT ofertas0_.Culto_Id as Culto3_1_, ofertas0_.Id as Id1_, ofertas0[详细]
2023-03-28 06:20 分类:问答Persistance of 2 one-to-many with NHibernate
I have the following code which uses th开发者_开发知识库e repository pattern, backed by a fluent nhibernate automapping to a MySQL DB.[详细]
2023-03-26 07:57 分类:问答Empty Child in model, Null when saved with References<>
I have an object declared like this public class MyObject { public virtual long MyId { get; set; } public virtual MyChild Child { get; set; }[详细]
2023-03-21 03:51 分类:问答Can Fluent NHibernate support all mappings from NHibernate
I want to use Fluent NHibernate with NHibe开发者_运维技巧rnate. But I want to find out whether Fluent NHibernate support all mappings from NHbernate. Or is it better to stick with NHibernate?Fluent NH[详细]
2023-03-19 17:57 分类:问答NHibernate mapping error in legacy mapping
I\'ve inherited a large set of NHibernate mappings that live in an existing, functional application. I\'ve branched this application to develop some new features, and while I do so I\'m also extending[详细]
2023-03-18 20:24 分类:问答Is this Fluent NHibernate mapping test a false positive?
I changed my mapping test to use the overload .VerifyTheMappings(TEntity first), and suddenly my test just passes. I haven\'t used that overload before, and since I\'m not really sure how it works, I\[详细]
2023-03-16 08:40 分类:问答Fluent NHibernate mapping inheritance
Can I have map a abstract class even the object doesn´t exists in my database? Example: public abstract class Type[详细]
2023-03-16 04:10 分类:问答Fluent nHibernate Join
I have an entity that maps to a table called Rule.The table for this entity has an FK to another Table called Category.I\'m trying to figure out how to pull in a property from Category in my Rule enti[详细]
2023-03-13 05:07 分类:问答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 分类:问答How to map boolean with FluentNhibernate and SQLite
I understand I need to save boolean in SQLite as Integer, True/False as 1/0 I guess开发者_如何学Go. But how is this done in the mapping file?[详细]
2023-03-08 02:27 分类:问答
加载中,请稍侯......