FluentNHibernate.Cfg.FluentConfigurationException NHiberNate

69 Views Asked by At

I get an error like this when writing unit test enter image description here

My product class is like this. I added virtual. enter image description here

My map is like this.

enter image description here

SqlServerHelper like this.

enter image description here

I am using vs code 2022. I'm developing with Net 6.0 entity framework. I am getting this error while doing unit test. No errors in codes. Is it a problem with the version? Or Is there a logical error. what is the solution?

1

There are 1 best solutions below

1
Gökay Açıkgöz On

Problem solved. I wrote Db link instead of Northwind Context. :)