Hi,
I'm getting the following warning in the controller classes of my custom modules after upgrading to 7.3.x when I compile.
*************
Warning26'Public Shared Function FillObject(dr As System.Data.IDataReader, objType As System.Type) As Object' is obsolete: 'Obsolete in DotNetNuke 7.3. Replaced by FillObject<T> '.C:\DevPortals\vrsdnn73\DesktopModules\SunsetHill\VRS\DataAccess\VRS_RollupController.vb4026VRS
*********
Here is a sample of the code that has the warning:
********
<DataObjectMethod(DataObjectMethodType.Select)> _
Public Function GetVRS_Rollup(ByVal rollupID As Integer, ByVal portalId As Integer) As VRS_RollupInfo
Return CType(CBO.FillObject(DataProvider.Instance().GetVRS_Rollup(rollupID, portalId), GetType(VRS_RollupInfo)), VRS_RollupInfo)
End Function
*********
Based on the warning message, what should I be changing in my code?