The code fails at
session.Save(employee); with AssertionFailure \"null identifier\". What am I doing wrong?
using FluentNHibernate.Cf
Is is still the true. Even first call to SELECT @@IDENTITY returns corect value, but seconds returns null
I use
*connection.driver_class = NHibernate.Driver.SqlServerCeDriver dialect: NHibernate.Dialect.MsSqlCeDialect*
After adding property *connection.release_mode: on_close* to my NHIbernate configuration it works