I am using NHibernate to map a DataModel. Unfotunatley the DataBase contains some inconsistent data due to lack of keys/constraints. Currently I am stuck with an m:n mapping where some keys on the map
I am trying to create my own foreign key convention that will name the FK in \"FK_SourceTable_TargetTable\" format.
I\'m having trouble getting the Fluent Nhibernate Automapper to create what I want.I have two entities, with a one-to-many relationship between them.
I want to pass a parameter in my method call, if set (its a boolean), then return a Stateless session.
I have this setup (condensed for brevity) Class Employee virtual IList<ChecklistItem> HasInitialed { get; private set; }
Basically what I want to do is to write this piece of SQL: SELECT CASE WHEN t.ty开发者_StackOverflow社区pe = \'a\' THEN
I\'m trying to establish a One-to-One relationship (Two-sided References relationship) between two classes. Both Properties should not be nullable. The problem is whe开发者_如何转开发n you try to save
I\'m using MS SQL Server 2008R2 Fluent nHibernate 1.3 nHibernate 3.2 I have a UInt64 field in my domain that potentially takes up the entire UInt64 range. Since MS-SQL doesn\'t support unsigned in
I have a tests project that I am trying to test my nhibernate layer with using sql lite in-memory database.
I am wondering how do I change the name of a FK with fluent nhibernate. Right now it makes all the foreign keys like (product_id,student_id) what is find but there is one table I wan开发者_JS百科t it