Search Results for

    Show / Hide Table of Contents

    Interface IFeatureSource

    Represents an FDO feature source

    Inherited Members
    IResource.ValidatingSchema
    IResource.ResourceID
    IResource.ResourceType
    IResource.Serialize()
    IResource.IsStronglyTyped
    IVersionedEntity.ResourceVersion
    System.ICloneable.Clone()
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    Namespace: OSGeo.MapGuide.ObjectModels.FeatureSource
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    public interface IFeatureSource : IResource, IVersionedEntity, ICloneable, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    ConfigurationDocument

    Gets or sets the name of the configuration document.

    Declaration
    string ConfigurationDocument { get; set; }
    Property Value
    Type Description
    System.String

    The name of the configuration document.

    | Improve this Doc View Source

    ConnectionPropertyNames

    Gets an array of names of the currently specified connection properties

    Declaration
    string[] ConnectionPropertyNames { get; }
    Property Value
    Type Description
    System.String[]
    | Improve this Doc View Source

    ConnectionString

    Gets the connection string.

    Declaration
    string ConnectionString { get; }
    Property Value
    Type Description
    System.String

    The connection string.

    | Improve this Doc View Source

    Extension

    Gets the extensions for this feature source.

    Declaration
    IEnumerable<IFeatureSourceExtension> Extension { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IFeatureSourceExtension>

    The extensions.

    | Improve this Doc View Source

    Provider

    Gets or sets the FDO provider.

    Declaration
    string Provider { get; set; }
    Property Value
    Type Description
    System.String

    The FDO provider.

    | Improve this Doc View Source

    SupplementalSpatialContextInfo

    Gets the supplemental spatial context info (coordinate system overrides).

    Declaration
    IEnumerable<ISpatialContextInfo> SupplementalSpatialContextInfo { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<ISpatialContextInfo>

    The supplemental spatial context info.

    | Improve this Doc View Source

    UsesAliasedDataFiles

    Gets a value indicating whether [uses aliased data files].

    Declaration
    bool UsesAliasedDataFiles { get; }
    Property Value
    Type Description
    System.Boolean

    true if [uses aliased data files]; otherwise, false.

    | Improve this Doc View Source

    UsesEmbeddedDataFiles

    Gets a value indicating whether [uses embedded data files].

    Declaration
    bool UsesEmbeddedDataFiles { get; }
    Property Value
    Type Description
    System.Boolean

    true if [uses embedded data files]; otherwise, false.

    Methods

    | Improve this Doc View Source

    AddExtension(IFeatureSourceExtension)

    Adds the extension.

    Declaration
    void AddExtension(IFeatureSourceExtension ext)
    Parameters
    Type Name Description
    IFeatureSourceExtension ext

    The ext.

    | Improve this Doc View Source

    AddSpatialContextOverride(ISpatialContextInfo)

    Adds the spatial context override.

    Declaration
    void AddSpatialContextOverride(ISpatialContextInfo sc)
    Parameters
    Type Name Description
    ISpatialContextInfo sc

    The sc.

    | Improve this Doc View Source

    ClearConnectionProperties()

    Removes all specified connection properties

    Declaration
    void ClearConnectionProperties()
    | Improve this Doc View Source

    GetAliasedFileName()

    Gets the name of the aliased file. Can only be called if UsesAliasedDataFiles returns true. An empty string is returned if it is a directory (ie. no file name was found)

    Declaration
    string GetAliasedFileName()
    Returns
    Type Description
    System.String
    Exceptions
    Type Condition
    System.InvalidOperationException

    If UsesAliasedDataFiles is false

    | Improve this Doc View Source

    GetAliasName()

    Gets the name of the alias. Can only be called if UsesAliasedDataFiles returns true

    Declaration
    string GetAliasName()
    Returns
    Type Description
    System.String
    Exceptions
    Type Condition
    System.InvalidOperationException

    If UsesAliasedDataFiles is false

    | Improve this Doc View Source

    GetConnectionProperty(String)

    Gets the connection property.

    Declaration
    string GetConnectionProperty(string name)
    Parameters
    Type Name Description
    System.String name

    The name.

    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetEmbeddedDataName()

    Gets the name of the embedded data resource. Can only be called if UsesEmbeddedDataFiles returns true.

    Declaration
    string GetEmbeddedDataName()
    Returns
    Type Description
    System.String
    Exceptions
    Type Condition
    System.InvalidOperationException

    If UsesEmbeddedDataFiles is false

    | Improve this Doc View Source

    RemoveExtension(IFeatureSourceExtension)

    Removes the extension.

    Declaration
    void RemoveExtension(IFeatureSourceExtension ext)
    Parameters
    Type Name Description
    IFeatureSourceExtension ext

    The ext.

    | Improve this Doc View Source

    RemoveSpatialContextOverride(ISpatialContextInfo)

    Removes the spatial context override.

    Declaration
    void RemoveSpatialContextOverride(ISpatialContextInfo sc)
    Parameters
    Type Name Description
    ISpatialContextInfo sc

    The sc.

    | Improve this Doc View Source

    SetConnectionProperty(String, String)

    Sets the connection property.

    Declaration
    void SetConnectionProperty(string name, string value)
    Parameters
    Type Name Description
    System.String name

    The name.

    System.String value

    The value. If null, the matching parameter is removed from the feature source

    Extension Methods

    ExtensionMethods.CopyResourceDataTo(IResource, IServerConnection, IResource)
    ExtensionMethods.CopyResourceDataTo(IResource, IServerConnection, String)
    FeatureSourceCredentialExtensions.SetEncryptedCredentials(IFeatureSource, IServerConnection, String, String)
    FeatureSourceCredentialExtensions.GetEncryptedUsername(IFeatureSource, IServerConnection)
    ExtensionMethods.GetConfigurationContent(IFeatureSource, IServerConnection)
    ExtensionMethods.SetConfigurationContent(IFeatureSource, IServerConnection, String)
    ExtensionMethods.GetIdentityProperties(IFeatureSource, IServerConnection, String)
    ResourceExtensions.SerializeToStream(IResource)
    ResourceExtensions.GetResourceTypeDescriptor(IResource)
    FeatureSourceExtensions.GetConnectionProperties(IFeatureSource)
    FeatureSourceExtensions.ApplyConnectionProperties(IFeatureSource, NameValueCollection)
    FeatureSourceExtensions.AddSpatialContextOverride(IFeatureSource, String, String)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng