= !MapGuide RFC 70 - Apply Schema = This page contains an change request (RFC) for the !MapGuide Open Source project. More !MapGuide RFCs can be found on the [wiki:MapGuideRfcs RFCs] page. == Status == ||RFC Template Version||(1.0)|| ||Submission Date||June 26, 2009|| ||Last Modified||Leaf Li [[Timestamp]]|| ||Author||Leaf Li|| ||RFC Status||draft|| ||Implementation Status||under development|| ||Proposed Milestone||2.2|| ||Assigned PSC guide(s)||Tom Fukushima|| ||'''Voting History'''||(vote date)|| ||+1|||| ||+0|||| ||-0|||| ||-1|| ||no vote|| || == Overview == This proposal is to extend MapGuide Feature Service to support applying schema. == Motivation == Currently MapGuide Web API doesn’t support any functionality to create or modify schema of a feature source. The RFC is used to eliminate this limitation. == Proposed Solution == ApplySchema need not only support adding, modifying but also support deleting schema elements. So we need a method to mark the schema element for deletion. The method Delete() will be added to classes MgFeatureSchema, MgClassDefinition, MgPropertyDefinition for it. == Implications == This is new API only. There will be no effect on existing applications. However, API documentation need to be updated. == Test Plan == Add unit tests for method MgFeatureService::ApplySchema into the existing Feature Service unit tests. == Funding/Resources == Supplied by Autodesk.