[fluent-nhib] Advanced mapping. I need help pls

2011-05-04 Thread mynkow
Hi, Sorry for the long post. I hope some1 read it :) So, I have 2 tables in DB. 1) Notifications with discriminator for different notification types. table per hierarchy. 2) MailNotifications with FK to Notifications table with some extra info. *here are the classes:* public abstract class Not

[fluent-nhib] OrderBy property in the mapping file

2011-05-04 Thread seekay
Hi, New to FNH and NHibernate as well. I'm trying to order a child collection using the OrderBy property in the mapping file. public class SectionMap : EntityBaseMap { public SectionMap() { Map(x => x.Name); Map(x => x.Sortorder); Map(x => x.RedirectUrl); Ha

[fluent-nhib] Can't override key colum name in JoinedSubClass

2011-05-04 Thread XMANU
Hell everybody, I'm new here. I have a problem with inheritance mapping. I can't override the column name of the key in a JoinedSubClass My Entities (simplified): public class Request { public virtual int Id { get; set; } public virtual DateTime Date { get; set; } public v

[fluent-nhib] Re: Is Fluent NHibernate dead?

2011-05-04 Thread James Gregory
Don't worry, no slighting received. :) My point was, for the most part everyone involved knows how most things work. There really aren't any specialists in our little team. -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this g

[fluent-nhib] Re: Conventions not working with FNH 1.2?

2011-05-04 Thread Vahid
Hi, To be specific, I am using FHN 1.2.0.705. You can find it here: http://teamcity.codebetter.com/viewType.html?buildTypeId=bt295&tab=buildTypeStatusDiv After that, I have: using System.Data.Entity.Design.PluralizationServices; using System.Globalization; using FluentNHibernate.Conventions; usin