Hi everyone,
I encountered a syntax error about "Overloadding" but could not find the cause.
For other business objects, I do not have this error.
Thank you very much for your help.
------------------------
In Editable Root Collection (obVendor_List), the following code trys to get list of vendor & error on this line:
Return DataPortal_Fetch(Of obVendor_List)(New FilterCriteria())
Error message was:
Overload resolution failed because no accessible "DataPortal_Fetch" accepts this number of type arguments.
------------------------
Code snippets as follow:
Shared Function GetVendor_List() As obVendor_List
Return DataPortal_Fetch(Of obVendor_List)(New FilterCriteria())
End
Private Overloads Sub DataPortal_Fetch(ByVal parCriteria As FilterCriteria)
RaiseListChangedEvents =
RaiseListChangedEvents = False
ExecuteFetch(mDATABASE, parCriteria)
True
End
Sub
Copyright (c) Marimer LLC