With Apply schema command you can set whether modifications of schema will be used (SetIgnoreStates) or schema will be applied as whole.
But there are differences between providers as well as versions of same provider how they deal with Apply Schema command. If I remember correctly in Fdo2Fdo new class is added to data store just by executing apply schema (schema with only new class) against existing data store. Also If I remember correctly that didn't worked with SDF if there was already some data in SDF. But again there were changes in SDF provider. Haris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Jokl Sent: Tuesday, July 15, 2008 3:01 PM To: [email protected] Subject: [mapguide-users] Adding a new feature class to an already existingfeature schema I wondered if anyone knows how to programatically add a new feature class definition to an existing feature schema. All the example code I have goes on the basis of creating the new class and the schema together in one step but I don't have any examples of how to go about retrospectively adding a new class to an existing feature schema. I have so far got to the point of getting hold of an instance of the feature service and using the DescribeSchema method to retrieve the schema I wish to add to. I can get hold of the schema's class collection and add the new class to this but I am not sure if that will persist the new feature class or if I have to somehow persist the changes to the schema after adding the new class to it. Has anyone done this / know how it needs to be done? -- View this message in context: http://www.nabble.com/Adding-a-new-feature-class-to-an-already-existing- feature-schema-tp18464689p18464689.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
