I had this problem too, but it doesn't have to do with the mapping of your primary key.

Do you have a one to many mapping from another class?

On , Dietrich <[email protected]> wrote:
I'm on my first project using Conformist by-code mapping, and I hit a snag.

Basically, I've got this class


public class SOPProcess : ISOPProcess
{
public virtual Guid Id { get; set; } [...] }
And I'm using this mapping public SOPProcessMap()
{
Id(s => s.Id, i => i.Generator(Generators.GuidComb)); [...] }


And I'm getting this error:


NHibernate.MappingException: Could not determine type for: MES.ProcessManager.SOP.SOPProcess, MES.ProcessManager, for columns: NHibernate.Mapping.Column(id)



And now I'm scratching my head.


What did I miss?


I've posted this on stackoverflow as well





--

You received this message because you are subscribed to the Google Groups "nhusers" group.

To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/bUgApYgVj28J.

To post to this group, send email to [email protected].

To unsubscribe from this group, send email to [email protected].


For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.




--
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to