automapping
Fluent Nhibernate Automap convention for not-null field
Could some one help, how would I instruct automap to have not-null for a column? public class Paper : Entity[详细]
2022-12-26 11:22 分类:问答Automapping doesn't have an Id mapped
My Entity Class: public class Building { /// <summary> /// internal Id /// </summary> public virtual long Id { get; set; }[详细]
2022-12-24 08:15 分类:问答Fluent NHibernate and computed properties
I\'m using Fluent NHibernate, and auto-mapping the classes. I have a computed property in a class along the lines of[详细]
2022-12-21 21:17 分类:问答Override for fluent NHibernate for long text strings nvarchar(MAX) not nvarchar(255)
When ever you set a string value in fluent NHibernate it alwasy sets the DB vales to Nvarchar(255), I need to store quite a lot of long string which are based on user inputs and 255 is impractical.[详细]
2022-12-21 14:40 分类:问答Can't figure out what the other side of the many-to-many property 'Users' should be
My Domain auto mapping was working but now as I updated my NHibernate stack I\'m gettingmapping exception when Session Factory is building the Configuration:[详细]
2022-12-19 17:53 分类:问答How to map part of aspnet_Users table using Fluent NHibernate
I\'m trying to get Fluent NHibernate 1.0 RTM to map a User entity for me so that I have access to UserId and UserName inside my ASP.NET MVC application via NHibernate.[详细]
2022-12-17 23:43 分类:问答How to automap Table-per-class hierarchy in S#arp architecture
I am pretty new to S#harp architecture and fluent nhibernate. I was trying to build a sample solution using the template.[详细]
2022-12-17 09:18 分类:问答Fluent nhibernate automap subclasses from different assemblies
What I need to do is automap subclasses of my abstract page class. I need to find them in a list of assemblies that I get a runtime (at the initialization stage). I don\'t have any reference to the as[详细]
2022-12-16 09:42 分类:问答Fluent NHibernate (with automapping) not saving join table values in many-to-many
I am not exactly an NHibernate expert, so this may be a lack of understanding in that department. I have two simple entities with a many-to-many relationship[详细]
2022-12-15 17:12 分类:问答Custom Id column in the Fluent NH entity name
I am using S#arp architecture with Fluent Nhibernate and Automapper on a legacy DB. The id column of one of the tables is different from the Automapping convention and therefore I tried to override i[详细]
2022-12-15 13:06 分类:问答