I\'ve got a problem with fluent nhibernate table per class hierarchy mapping. I\'ve got 2 domain objects, container (baseclass) and album (subclass). Album only contains a constructor. Container dervi
I found a fantastic template for NHibernate code generation using MyGeneration here, http://vucetica.blogspot.com/2009/01/nhibernate-template-for-mygeneration.html
I have my class X : public class ClassX { public virtual IList<ClassY> ListY { get; set; } ... } My ClassX mapping (using Fluent)
I posted the question in the Fluent-NHibernate newgroup but so far there ha开发者_运维知识库s been no answer from the void.
I want to create a many to many relationship, but I want to have in the new table(Mes开发者_C百科sageReceivers) a unique contraint on both columns (AdvanceMessageId,UserId):
I have an entity: public class Message:Entity { public virtual IList`<`Message> ReplayMessages { set; get; }
I\'ve hit a wall on this one. I have a WCF library with a respective WCF web service. A sandbox web application attempts to fire one method from this service.
I\'m trying to map inheritance with discriminator, but subclasses don\'t have discriminator value. How to solve it using AutoMappings?
I am working with NHibernate, and a few code generation tools. MyGeneration is one and SmartCode is the other.
I\'m new to Fluent NHibernate, and have what I think should be a simple question.The problem is that I can\'t seem to find a simple answer anywhere.