[fdo-users] Re: BulkCopy using IFeatureReader (using
greg.boone at autodesk.com
Wed Mar 16 10:51:55 EDT 2011
>> You could try an adapter class that implements IFeatureReader and maps the calls to your MgFeatureReader
This should work. Internally in BC the managed code does not try and cast to an unmanaged class.
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Wednesday, March 16, 2011 7:31 AM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] Re: BulkCopy using IFeatureReader (using MgFeatureReader)
No there isn't.
IFeatureReader and MgFeatureReader are two different things with no common inheritance ancestry.
You could try an adapter class that implements IFeatureReader and maps the calls to your MgFeatureReader, but the FDO .net wrapper being a C++/CLI mixture, I would wager the Autodesk BulkCopy class be expecting the IFeatureReader wrapping some unmanaged C++ class. So you could probably scratch this idea as well.
View this message in context: http://osgeo-org.1803224.n2.nabble.com/BulkCopy-using-IFeatureReader-using-MgFeatureReader-tp6176075p6176149.html
Sent from the FDO Users mailing list archive at Nabble.com.
fdo-users mailing list
fdo-users at lists.osgeo.org
More information about the fdo-users