This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I am loading up a list of entities with the following
The stored proc only returns 4 fields - but the Product3 entity has more than 30 fields. Partially loading entities according to the fields you have appears to work fine - but the Output window shows "A first chance exception of type 'System.IndexOutOfRangeException' occurred in System.Data.dll" for each missing field. Should this be happening? Note I'm still stuck in Visual Studio 2010 - not sure if this occurs in later versions. |
|
|
Yes this is normal if you have missing fields as we will still try to load these but in doing so an exception is raised from the IL we emit to do the load/assign. We subsequently catch this but since you are in a debugger you are getting notified of a first chance exception.
|
|