fluent-nhibernate-mapping Questions
1
First of all, yes, I am using DistinctRootEntityResultTransformer.
I have the following (Fluent NHibernate) mapping:
public FirstObjectMap()
{
Id(x => x.Id):
HasMany<SecondObject>(x =...
Barthelemy asked 25/4, 2012 at 16:57
3
Solved
I've following mapping for two tables having a Many-to-Many relationship between them. How do I delete an entry from the mapping table, which is 'ProjectUser' in my case?
public ProjectMap()
{
Id...
Oteliaotero asked 16/2, 2012 at 17:50
1
Solved
I'm setting up a new solution to map against SQL data that has been imported from an Access database. Auto Mappings work fine against the entities I have defined but I need to be able to use the Fl...
Bullington asked 3/1, 2012 at 18:7
3
Solved
I have several projects using NH and FNH to generate the mappings (some Fluent some Automapped). There are still some bugs and missing features i need, but it seems that FNH could die because of ma...
Button asked 23/11, 2011 at 9:39
1
I'm in the enviable situation of having to integrate with a legacy database, luckily for readonly purposes, and have chosen to use NHibernate. Up until now everything has been great, but I have a n...
Losse asked 16/11, 2011 at 16:21
1
Solved
I am trying to use CompositeId to map to a legacy system. The source database has a composite primary key so I can't use the normal this.Id mapping.
Here is my attempt to map it:
public Priority...
Highgrade asked 27/10, 2011 at 12:31
1
Solved
We are using Fluent NHibernate for data object model in the company i work.
A couple of days ago, we encountered an issue that Fluent NHibernate generates an extra column which does exist neither i...
Benelux asked 19/5, 2011 at 12:19
4
Solved
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 sets ...
Lawful asked 1/6, 2011 at 16:25
3
Solved
I'm trying to map a simple data structure in nhibernate
Tables:
Employees
employeeID int
username varchar(30)
departmentID int
Departments
departmentID int
deptName varchar(50)
My department m...
Woodwork asked 11/5, 2011 at 16:42
3
Solved
I just started looking at NHibernate this week, and would love to use the Automapping approach on my current project.
I'm working with Fluent NHibernate 1.0.0.594, which I downloaded a few days ag...
Olmos asked 29/10, 2009 at 14:37
1
Solved
Are there any good examples of how to use this (NHibernate.Criterion.IdentifierEqExpression) online? I couldn't find any.
I'm a little confused about what you are supposed to pass into the construc...
Dulcie asked 24/3, 2009 at 21:17
© 2022 - 2024 — McMap. All rights reserved.