FDO API Reference Feature Data Objects

mgIApplySchema.h File Reference

Include dependency graph for mgIApplySchema.h:

This graph shows which files directly or indirectly include this file:


Functions

System::Void Execute ()
 Executes the ApplySchema command that creates metadata and physical storage for the schema. An exception is thrown if the schema already exists or if a schema already exists and the feature provider only supports a single schema. If schema changes include deletion of classes or the schema itself, then those classes (or the schema, if it is marked as deleted) must not contain any instance data. If they do, an exception will be thrown. Implementors must call FdoFeatureSchema::AcceptChanges() when Execute() succeeds. It must be called after the schema has been successfully applied, in order to synchronize the states of the schema elements.
__property System::Boolean get_IgnoreStates ()
 Indicates whether Execute() will ignore element states when applying the feature schema.
__property NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping * get_PhysicalMapping ()
 Gets the FdoPhysicalSchemaMapping used to specify how the schema definition gets mapped into physical storage.
__property System::Void set_FeatureSchema (NAMESPACE_OSGEO_FDO_SCHEMA::FeatureSchema *value)
 Sets the name of the schema to create.
__property System::Void set_IgnoreStates (System::Boolean ignoreStates)
 Changes the handling of element states by Execute().
__property System::Void set_PhysicalMapping (NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping *value)
 Sets the FdoPhysicalSchemaMapping used to specify how the schema definition gets mapped into physical storage.

Variables

public __gc __interface IApplySchema
 The FdoIApplySchema interface defines the ApplySchema command, which creates or updates a feature schema within the DataStore. Input to the ApplySchema command is the feature schema instance to be created or updated. Optionally, a provider-specific FdoIPhysicalSchemaMapping interface can be specified that can be used to control how the feature schema elements are mapped into physical storage.

Comments or suggestions? Send us feedback.