AnsweredAssumed Answered

How to replace obsolete class?

Question asked by anatolys on May 1, 2013
Latest reply on May 2, 2013 by anatolys
For insert records in  Featureclass I use:

        Using comReleaser As ESRI.ArcGIS.ADF.ComReleaser = New ESRI.ArcGIS.ADF.ComReleaser()
            comReleaser.ManageLifetime(featureBuffer)
            comReleaser.ManageLifetime(insertCursor)


I get the Warning : 'ESRI.ArcGIS.ADF.ComReleaser' is obsolete: 'The assembly containing this class is obsolete.  Reference the ESRI.ArcGIS.ADF.Connection.Local assembly instead.'.

How to replace obsolete class ESRI.ArcGIS.ADF.ComRelease?
Example, please.

Outcomes