Nhibernate Fluent domain Object with Id(x => x.id).GeneratedBy.Assigned not saveable
- by urpcor
Hi there,
I am using for some legacy db the corresponding domainclasses with mappings.
Now the Ids of the entities are calculated by some stored Procedure in the DB which gives back the Id for the new row.(Its legacy, I cant change this)
Now I create the new entity , set the Id and Call Save. But nothing happens. no exeption. Even NH Profiler does…