Nhibernate mapping without id

I have a parameter table in my db sql server. This table contains 20 or so fields, but only ONE . This table will always contain one record, and also does not contain an identifier or key field.

How do you compare this to NHibernate?

+3
source share
1 answer

How to create a column that will always contain 1 (or any other value). I believe that if you want to update your columns, you will need an ID.

+2
source

Source: https://habr.com/ru/post/1717429/


All Articles