Class OdbcConfigurationDocument
Represents a configuration document for the ODBC provider. The ODBC configuration document allows you to declare certain tables as point feature classes by specifying the X, Y and optionally Z columns of the table
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OSGeo.MapGuide.MaestroAPI.SchemaOverrides
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class OdbcConfigurationDocument : ConfigurationDocument, IFdoSerializable
Constructors
| Improve this Doc View SourceOdbcConfigurationDocument()
Initializes a new instance of the OdbcConfigurationDocument class.
Declaration
public OdbcConfigurationDocument()
Methods
| Improve this Doc View SourceAddOverride(OdbcTableItem)
Adds the specified table override
Declaration
public void AddOverride(OdbcTableItem item)
Parameters
Type | Name | Description |
---|---|---|
OdbcTableItem | item |
ClearMappings()
Removes all table overrides
Declaration
public void ClearMappings()
GetMappingsForSchema(String)
Gets the table overrides for the specified schema
Declaration
public List<OdbcTableItem> GetMappingsForSchema(string schemaName)
Parameters
Type | Name | Description |
---|---|---|
System.String | schemaName |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<OdbcTableItem> |
GetOverride(String, String)
Gets the table override for the specific feature class name.
Declaration
public OdbcTableItem GetOverride(string schemaName, string className)
Parameters
Type | Name | Description |
---|---|---|
System.String | schemaName | |
System.String | className |
Returns
Type | Description |
---|---|
OdbcTableItem |
ReadSchemaMappings(XmlNode, XmlNamespaceManager)
Write this document's schema mappings from the given XML document
Declaration
protected override void ReadSchemaMappings(XmlNode node, XmlNamespaceManager mgr)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNode | node | The node. |
System.Xml.XmlNamespaceManager | mgr | The namespace manager. |
Overrides
| Improve this Doc View SourceWriteSchemaMappings(XmlDocument, XmlNode)
Write this document's schema mappings to the given XML document
Declaration
protected override void WriteSchemaMappings(XmlDocument doc, XmlNode currentNode)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | doc | |
System.Xml.XmlNode | currentNode |