the FillbyStoredProc method. The stored proc that is called adds 1 additional field
from another table all seems fine except when i try to call my update stored proc
then I seem to get a data layer exception on this added field, Oddly it does not happen on calling my insert proc
myBO("MyField") = "some value" '-- VB
myBO["MyField"] = "some value"; //-- C#
Hi
> When creating a Custom Fill Method does the Data Retrieval order have to match the Business Object Definition order or will the BO auto map the fields to the properties based on the column names?
I assume you are referring to the order of the columns in your returned result set? If so, it doesn't matter to the SF business object. It will read and write the data to the column in the inner DataTable (referenced by the CurrentDataTable property). As long as they are named the same and are of the same datatype/precision, you will be good to go.
HTH
-=Gary
Thanks for your help.
Richard