Hi,
in order to get rid of the Studio dependencies, I've been porting my application to use Maestro 5 API. Can anyone tell me, how to implement this with Maestro API?

public void ClearDataSource(MgFeatureService featureSrvc, MgResourceIdentifier dataSourceId, String featureName)
    {
MgDeleteFeatures deleteCmd = new MgDeleteFeatures(featureName, "ID >= 0"); MgFeatureCommandCollection commands = new MgFeatureCommandCollection();
        commands.Add(deleteCmd);
        featureSrvc.UpdateFeatures(dataSourceId, commands, false);
    }

This is just for clearing the feature source, but I would also need to update and insert into it.

Is there any Api doc available?



- mika -
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to