I\'m using Fluent NHibernate auto mapping. I need to access more than one database on the same server is it ok to override the table name with the fully qualified name. For example my开发者_Go百科 con
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.
I\'ve got two objects a parent and a child list. In my fluent nhibernate mapping for the parent I want to load the list of the children.
I have written an NHibernateSessionFactory class which holds a static Nhibernate ISessionFactory. This is used开发者_如何学编程 to make sure we only have one session factory, and the first time OpenSe
I have the following mapping: public class LogEntryMap { public LogEntryMap() { Map.Id(x => x.Id).GeneratedBy.Identity();
Currently I\'开发者_运维知识库m using Fluent NHibernate to generate my database schema, but I want the entities in a HasMany relationship to point to a different column for the reference. IE, this is
I have a component that i want to store to an SQLite database. public class Comp : Entity { public virtual DateTime TimeStamp { get; set; }
with fluent nhibernate, is there a way to dynamically switch the table of a mapping at runtime? For example:
I want to control my domain\'s interaction with a collection, so I thought I\'d make the collection protected and provide a read-only wrapper around it so that the contents are visible, but I can ensu
I have 2 entities Users and Colors. One user may be associated with multiple colors, and one color may be associated with multiple users.