[fdo-users] Create an FdoFeatureClass?

Greg Boone greg.boone at autodesk.com
Wed Apr 15 10:11:30 EDT 2009


I believe the intent here is that providers that implement IApplySchema are required to call AcceptChanges on the Schema attached to the ApplySchema command, not the users.

Greg

-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of VJ
Sent: Wednesday, April 15, 2009 9:29 AM
To: fdo-users at lists.osgeo.org
Subject: RE: [fdo-users] Create an FdoFeatureClass?


I couldn't figure out the cloning part... BUT in the documentation of IApplySchema  I found "Implementors must call FdoFeatureSchema::AcceptChanges() when Execute() succeeds. It must be called after the schema has been successfully applied, in order to synchronize the states of the schema elements. "

So I decided to call AppectChanges after Execute, and... my table shows up! For the SHP provider, I get a .dbf file (as there are no geometries stored, it can make sense that there is no .shp file as of yet).

But am I misreading that documentation-quote, or should AcceptChanges have been called for me (who is ment by "Implementors": the ones using a provider, or the ones making a provider?)...?

-- 
View this message in context: http://n2.nabble.com/Create-an-FdoFeatureClass--tp2611536p2638742.html
Sent from the FDO Users mailing list archive at Nabble.com.

_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users


More information about the fdo-users mailing list