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
Post a Comment