This question is locked. New answers and comments are not allowed.
I had used forward mapping to create my classes. My code are as follow:
In the MSSQL 2008 Express table, scheduledworkshop's id column is a primary but not auto-incr. The orm mapper's auto-inc is unticked.
I get an exception @ the scope.transaction.commit(); line that seem to point that my primary key "id" is null. The Sql seems to show that it had not inserted the primary key value that I had assigned.
I had recreated all the mappings from scratch a few times using the ORM Wizard but the error still persist. What seems to be the errror here?