Fluent-NHibernate table mapping with no primary key -


I am trying to create a mapping in a database table that does not have a primary key / reference.

  Public Class Test Map: Classplapp & lt; & Lt; Test & gt; Test & G; {Public test map (supported) ("testlet"); Map (x = & gt; x.TestColumn); }}  

This fails and expects the IDs or aggregate-IDs. Did at least I use "ROWID" for this in Oracle? For Mssql you can use the "ROW_NUMBER ()" Biltine function to read in the table, but I have not tried ...


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -