In NHibernate
ID Generator section in mapping files, What is the meaning of assigned and select?
assigned
means that you assign the primary key in code before saving the entity in the session.
select
means it is assigned by the database, and it's obtained from the database by querying on some unique key.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With