Not sure what is causing this error. When I build my OpenAccess-enabled project I am receiving an error that looks like this.
|[D:\dev\MyApp\src\OpenAccessData\bin\Debug\MyApp.OpenAccessData.dll : <>f__AnonymousType0`2[<user>j__TPar,<country>j__TPar]::Equals][offset 0x0000001B] callvirt on static D:\dev\MyApp\src\OpenAccessData\ [IL] |
There seems to be some issue with the IL being generated. My guess is that it has something to do with my database schema. I have a country table which has a varchar(2) unique key (like these "US","UK", "BG"). I have foreign key constraints on other tables which reference that unique key column.
This error also always appears, but I am pretty certain it is just telling me about the first error.
|The command "peverify.exe /nologo "D:\dev\MyApp\src\OpenAccessData\bin\Debug\MyApp.OpenAccessData.dll"" exited with code 1. OpenAccessData |