attributes
ChoiceSubElementError
DuplicateSubElementError
Execute
get_CanSetName
get_IgnoreStates
get_IncludeDefaults
get_Name
get_PhysicalMapping
get_QualifiedName
get_SchemaMapping
IApplySchema
IDescribeSchema
IDescribeSchemaMapping
IDestroySchema
InitFromXml
IPhysicalElementMapping
IPhysicalPropertyMapping
MultiSubElementError
set_FeatureSchema
set_IgnoreStates
set_IncludeDefaults
set_Name
set_PhysicalMapping
set_SchemaName
SubElementError
WriteXml
System::Void OSGeo::FDO::Commands::Schema::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 FeatureSchema::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. Executes the destroy schema command, which removes the schema, class definitions, relation definitions, and all instance data from the DataStore. If elements in other schemas refer to the schema to be destroyed an exception is thrown. Executes the DescribeSchemaMapping command and returns a PhysicalSchemaMappingCollection. If the specified schema name does not exist, the Execute method throws an exception. Executes the DescribeSchema command and returns a FeatureSchemaCollection. If a schema name is given that has references to another schema, the dependent schemas will be returned as well. If the specified schema name does not exist, the Execute method throws an exception. Returns: Returns nothing Returns the schema collection representing the schema created. The element states for all elements will be set to SchemaElementState_Unchanged. Each provider-specific implementation of Execute() can ensure that this is the case by calling FeatureSchema::AcceptChanges() for each feature schema in the returned collection. Returns the schema mapping collection for the requested feature schemas.