Search Results for

    Show / Hide Table of Contents

    Interface IAttributeRelation

    Represents an attribute join

    Inherited Members
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    Namespace: OSGeo.MapGuide.ObjectModels.FeatureSource
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    public interface IAttributeRelation : INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    AttributeClass

    Gets or sets the name of the feature class to extend

    Declaration
    string AttributeClass { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    AttributeNameDelimiter

    Gets or sets the prefix that prevents a naming collision on both sides of the join

    Declaration
    string AttributeNameDelimiter { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ForceOneToOne

    Gets or sets whether to force 1:1 cardinality

    Declaration
    bool ForceOneToOne { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Name

    Gets or sets the name of the join

    Declaration
    string Name { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    RelateProperty

    Gets the property pairs involved in this join

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

    The property pairs.

    | Improve this Doc View Source

    RelatePropertyCount

    Gets the number of properties being joined on

    Declaration
    int RelatePropertyCount { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    RelateType

    Gets the type of join

    Declaration
    RelateTypeEnum RelateType { get; set; }
    Property Value
    Type Description
    RelateTypeEnum
    | Improve this Doc View Source

    ResourceId

    Gets or sets the feature source id containing the feature class to extend

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

    Methods

    | Improve this Doc View Source

    AddRelateProperty(IRelateProperty)

    Adds the relate property.

    Declaration
    void AddRelateProperty(IRelateProperty prop)
    Parameters
    Type Name Description
    IRelateProperty prop

    The prop.

    | Improve this Doc View Source

    CreatePropertyJoin(String, String)

    Creates the property join.

    Declaration
    IRelateProperty CreatePropertyJoin(string primaryProperty, string secondaryProperty)
    Parameters
    Type Name Description
    System.String primaryProperty

    The primary property.

    System.String secondaryProperty

    The secondary property.

    Returns
    Type Description
    IRelateProperty
    | Improve this Doc View Source

    RemoveAllRelateProperties()

    Removes all relate properties.

    Declaration
    void RemoveAllRelateProperties()
    | Improve this Doc View Source

    RemoveRelateProperty(IRelateProperty)

    Removes the relate property.

    Declaration
    void RemoveRelateProperty(IRelateProperty prop)
    Parameters
    Type Name Description
    IRelateProperty prop

    The prop.

    Extension Methods

    FeatureSourceExtensions.AddRelateProperty(IAttributeRelation, String, String)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng