Mapping a view without a unique id column

Original Post yonah's Avatar

yonah

28 May, 2010 08:39 PM via web

I see here http://support.fluentnhibernate.org/discussions/help/116-mapping-a-... that this issue was fixed in master but I am not sure what the fix is nor how to make use of it.
Could I get a little bit of an explanation as to what the fix was or where it is in source \ tests?

  1. 2 Posted by Travis on 28 May, 2010 10:03 PM

    Travis's Avatar

    Id(x => x.Id).GeneratedBy.Increment();

  2. 3 Posted by Travis on 28 May, 2010 10:10 PM

    Travis's Avatar

    My tests are not conclusive, but I think I spoke to soon. I am unable to get this to work, NH is still looking for a column "Id" in my case.

  3. 4 Posted by yonah on 28 May, 2010 11:03 PM

    yonah's Avatar

    I am confused. I thought this was a way to map without an Id column.
    I really would like to map a list of components (value objects) which inherently don't have an Idetifier.

    -----Original Message-----
    From: Travis [mailto:tender+db3d8ff24302e983effbbcc576982b38b568b5988@tenderapp.com]
    Sent: Friday, May 28, 2010 6:15 PM
    To: yonah@wahrhaftig.net
    Subject: Re: Mapping a view without a unique id column [Help and guidance]

  4. 5 Posted by Wyass on 29 May, 2010 11:01 AM

    Wyass's Avatar

    I'm also confused, see here...

    http://stackoverflow.com/questions/2920378/fluent-nhibernate-fetchi...

Reply to this discussion

Preview Comments are parsed with Markdown. Help with syntax

Attached Files

    You can attach files up to 10MB

    What month comes before July?

    Recent Discussions

    05 Jul, 2010 10:29 PM
    05 Jul, 2010 12:45 PM
    05 Jul, 2010 12:42 PM
    05 Jul, 2010 12:17 PM
    05 Jul, 2010 12:12 PM

     

    03 Jul, 2010 12:26 AM
    02 Jul, 2010 02:17 PM
    02 Jul, 2010 08:18 AM
    02 Jul, 2010 12:20 AM
    01 Jul, 2010 10:14 PM