Search Results for

    Show / Hide Table of Contents

    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

    Inheritance
    System.Object
    ConfigurationDocument
    OdbcConfigurationDocument
    Implements
    IFdoSerializable
    Inherited Members
    ConfigurationDocument._spatialContexts
    ConfigurationDocument._schemas
    ConfigurationDocument.SpatialContexts
    ConfigurationDocument.Schemas
    ConfigurationDocument.AddSpatialContext(IFdoSpatialContext)
    ConfigurationDocument.RemoveSpatialContext(IFdoSpatialContext)
    ConfigurationDocument.GetSpatialContext(String)
    ConfigurationDocument.GetSpatialContextNames()
    ConfigurationDocument.AddSchema(FeatureSchema)
    ConfigurationDocument.RemoveSchema(FeatureSchema)
    ConfigurationDocument.GetSchema(String)
    ConfigurationDocument.GetClass(String, String)
    ConfigurationDocument.WriteXml(XmlDocument, XmlNode)
    ConfigurationDocument.ReadXml(XmlNode, XmlNamespaceManager)
    ConfigurationDocument.ToXml()
    ConfigurationDocument.LoadXml(String)
    ConfigurationDocument.Load(Stream)
    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 Source

    OdbcConfigurationDocument()

    Initializes a new instance of the OdbcConfigurationDocument class.

    Declaration
    public OdbcConfigurationDocument()

    Methods

    | Improve this Doc View Source

    AddOverride(OdbcTableItem)

    Adds the specified table override

    Declaration
    public void AddOverride(OdbcTableItem item)
    Parameters
    Type Name Description
    OdbcTableItem item
    | Improve this Doc View Source

    ClearMappings()

    Removes all table overrides

    Declaration
    public void ClearMappings()
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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
    ConfigurationDocument.ReadSchemaMappings(XmlNode, XmlNamespaceManager)
    | Improve this Doc View Source

    WriteSchemaMappings(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
    Overrides
    ConfigurationDocument.WriteSchemaMappings(XmlDocument, XmlNode)

    Implements

    IFdoSerializable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng