I've run into a problem that I can't figure out...
I retrieve an entity from a table (SQL SERVER 2000) by contructing it using the contructor that takes the primary key as a parameter (in this case an Int32). I then retrieve it from the database using DataAccessAdapter.FetchEntity().
Immediately after fetching it, I access some of the fields and get an ORMEntityOutOfSyncException exception.
If I put a breakpoint on the FetchEntity() call, I can examine the entity object's fields immediately after the fetch and instead of having values, they have this exception.
I regenerated my DAL and do a clean build and still the same results.
What's going on here?
Other info:
.NET 2.0
Sql Server 2000
C#
llblgen pro 2.0.0.0 Dec 6, 2006
ORMSupportClass DLL version 2.0.0.61205
DQE.SqlServer DLL version 2.0.0.61120