Hi,
I have a one to many relationship with the following config
HasMany(x => x.Staff)
.Inverse()
.Cascade.All();
But I get a collection failed to initialize error.
Dont I have to specify the foreignkey here, examples I found do not????
How does it know which is the foreign key?
EDIT: Looking closer at the exception the sql is trying to use field Staff_id when I have said it is StaffID??
Malcolm