FDO API Reference Feature Data Objects

FeatureSchema Class Reference

List of all members.

Detailed Description

The FdoFeatureSchema class derives from FdoSchemaElement. A feature schema contains all of the classes and relationships that make up a particular data model. The FdoFeatureSchema class can be used to either create a new schema or to browse the schema end of a connection. In the later case, the FdoFeatureSchema instance is created by the DescribeSchema command. In this case the schema objects have additional properties, such as coordinate system definitions that can be useful to the application when placed in context with the schema objects.


Public Member Functions

System::Void AcceptChanges ()
 Returns an FdoRelationCollection that contains all of the relations defined in the feature schema. Accepts all of the changes that have been made to the feature schema. All child elements with a schema element state set to FdoSchemaElementState_Deleted are physically removed from the schema. All other child elements have their schema element state values set to FdoSchemaElementState_Unchanged. This method would usually be only called from an FDO Provider (IApplySchema implementation). It would not normally called by an FDO Client.
 FeatureSchema (System::IntPtr unmanaged, System::Boolean autoDelete)
 FeatureSchema (System::String *name, System::String *description)
 Constructs an instance of an FdoFeatureSchema using the specified arguments.
 FeatureSchema ()
 Constructs a default empty instance of an FdoFeatureSchema.
__property NAMESPACE_OSGEO_FDO_SCHEMA::ClassCollection * get_Classes ()
 Returns an FdoClassCollection that contains all of the classes defined in the feature schema.
NAMESPACE_OSGEO_COMMON_XML::XmlReader * GetFromInternalStylesheet ()
System::Void RejectChanges ()
 Rejects all of the changes that have been made to the feature schema. All child elements with a schema element state set to FdoSchemaElementState_Added are physically removed from the schema. All other child elements are restored to their original states and have their schema element state values set to FdoSchemaElementState_Unchanged.
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_IO::IoStream *stream, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_IO::IoStream *stream)
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_IO::IoTextWriter *textWriter, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_IO::IoTextWriter *textWriter)
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_XML::XmlWriter *xmlWriter, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void WriteXml (NAMESPACE_OSGEO_COMMON_XML::XmlWriter *xmlWriter)
System::Void WriteXml (String *fileName, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags)
System::Void WriteXml (String *fileName)

Comments or suggestions? Send us feedback.