corpdb..Order = corpdb..applanh
basedb..Employee = basedb..CorpEmpl
A first chance exception of type 'SD.LLBLGen.Pro.ORMSupportClasses.ORMEntityOutOfSyncException' occurred in SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll
System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Unhandled exception</Description><AppDomain>ConsoleApplication1.vshost.exe</AppDomain><Exception><ExceptionType>SD.LLBLGen.Pro.ORMSupportClasses.ORMEntityOutOfSyncException, SD.LLBLGen.Pro.ORMSupportClasses.NET20, Version=2.5.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27</ExceptionType><Message>The entity is out of sync with its data in the database. Refetch this entity before using this in-memory instance.</Message><StackTrace> at SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2.GetValue(Int32 fieldIndex, Boolean returnDefaultIfNull)
at iTurbo.EntityClasses.ApplanHEntity.get_NvrRecEmplNo() in c:\documents and settings\administrator\my documents\llblgen pro projects\databasegeneric\entityclasses\applanhentity.cs:line 820
at iTurbo.EntityClasses.ApplanHEntity.GetRelationInfoCorpEmpl() in c:\documents and settings\administrator\my documents\llblgen pro projects\databasegeneric\entityclasses\applanhentity.cs:line 336
at ConsoleApplication1.Program.Main(String[] args) in C:\Documents and Settings\Administrator\My Documents\ConsoleApplication1\Program.cs:line 49
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()</StackTrace><ExceptionString>SD.LLBLGen.Pro.ORMSupportClasses.ORMEntityOutOfSyncException: The entity is out of sync with its data in the database. Refetch this entity before using this in-memory instance.
at SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2.GetValue(Int32 fieldIndex, Boolean returnDefaultIfNull)
at iTurbo.EntityClasses.ApplanHEntity.get_NvrRecEmplNo() in c:\documents and settings\administrator\my documents\llblgen pro projects\databasegeneric\entityclasses\applanhentity.cs:line 820
at iTurbo.EntityClasses.ApplanHEntity.GetRelationInfoCorpEmpl() in c:\documents and settings\administrator\my documents\llblgen pro projects\databasegeneric\entityclasses\applanhentity.cs:line 336
at ConsoleApplication1.Program.Main(String[] args) in C:\Documents and Settings\Administrator\My Documents\ConsoleApplication1\Program.cs:line 49
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()</ExceptionString></Exception></TraceRecord>