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 SourceAttributeClass
Gets or sets the name of the feature class to extend
Declaration
string AttributeClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |
ForceOneToOne
Gets or sets whether to force 1:1 cardinality
Declaration
bool ForceOneToOne { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets or sets the name of the join
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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. |
RelatePropertyCount
Gets the number of properties being joined on
Declaration
int RelatePropertyCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RelateType
Gets the type of join
Declaration
RelateTypeEnum RelateType { get; set; }
Property Value
Type | Description |
---|---|
RelateTypeEnum |
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 SourceAddRelateProperty(IRelateProperty)
Adds the relate property.
Declaration
void AddRelateProperty(IRelateProperty prop)
Parameters
Type | Name | Description |
---|---|---|
IRelateProperty | prop | The prop. |
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 |
RemoveAllRelateProperties()
Removes all relate properties.
Declaration
void RemoveAllRelateProperties()
RemoveRelateProperty(IRelateProperty)
Removes the relate property.
Declaration
void RemoveRelateProperty(IRelateProperty prop)
Parameters
Type | Name | Description |
---|---|---|
IRelateProperty | prop | The prop. |