即時通訊使用Visual Studio,PostgreSQL數據庫和ado.net實體數據模型。在連接字符串中,我無法設置MultipleActiveResultSets=True
。MultipleActiveResultSets爲PostgreSQL和ado.net實體數據模型
通常當我連接到SQL服務器與MultipleActiveResultSets=True
,它工作正常。但我不能設置與postgresql數據庫相同。
當我用這個,我有以下錯誤
There is already an open DataReader associated with this Command which must be closed first.
我該如何解決這個問題。
可以顯示引發此異常的代碼片段嗎? – Eranga 2012-01-10 13:29:37
即時得到錯誤這裏addressData.EMPLOYEE_DATAReference.Load(),我的意思是雖然延遲加載的數據。 – Harsha 2012-01-11 04:12:07