[fdo-users] Does IApplySchema handle removed classes / removed properties?

Zac Spitzer zac.spitzer at gmail.com
Mon Jul 28 22:27:02 EDT 2008


It might be the effects of FDO schema caching?

In Mapguide I just re-save the featuresource which blows away the cache

On Tue, Jul 29, 2008 at 12:08 AM, Jackie C. Ng <jumpinjackie at gmail.com> wrote:
>
> Hi All,
>
> I am having trouble with the IApplySchema command with regards to removing
> classes and/or class properties.
>
> After executing an IApplySchema on a modified schema, the schema shows all
> the signs of the class being removed, same applies for removed properties.
>
> But if were to execute an IDescribeSchema afterwards, the schema returned
> from that command still has the class/property that was supposed to be
> removed.
>
> I wrote a test application to verify my findings.
>
> TestDeletePropertyRaw()
> http://code.google.com/p/fdotoolbox/source/browse/trunk/TestApp/TestApp.cs#35
>
> TestDeleteClassRaw()
> http://code.google.com/p/fdotoolbox/source/browse/trunk/TestApp/TestApp.cs#163
>
> In both methods, the class/property is indicated as removed after the
> IApplySchema executes, but then it reappears in the schema returned by the
> subsequent IDescribeSchema command.
>
> Am I doing something wrong here?
>
> - Jackie
>
> -----
> http://themapguyde.blogspot.com
>
> http://www.linkedin.com/in/jackieng
> --
> View this message in context: http://www.nabble.com/Does-IApplySchema-handle-removed-classes---removed-properties--tp18689217p18689217.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
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168


More information about the fdo-users mailing list